Bug 122735 - [patch] Port mail/postfixadmin - incorrect syntax in mysqli_real_escape_string function
Summary: [patch] Port mail/postfixadmin - incorrect syntax in mysqli_real_escape_strin...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-13 21:40 UTC by Skalozubov Ilia
Modified: 2008-05-17 14:30 UTC (History)
0 users

See Also:


Attachments
file.diff (694 bytes, patch)
2008-04-13 21:40 UTC, Skalozubov Ilia
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Skalozubov Ilia 2008-04-13 21:40:00 UTC
Incorrect syntax of function mysqli_real_escape_string in functions.inc.php
This error occurs when option 'magic_quotes_gpc' disabled in php config and postfixadmin used own functions to quoting strings.

Fix: Patch attached with submission follows:
How-To-Repeat: Install postfixadmin with mysqli support.
Disable 'magic_quotes_gpc' in php config.
Open http://URL_TO_POSTFIXADMIN/admin/create-domain.php
When press button to create new domain, you'll get error messages.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-04-13 21:40:12 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Rong-En Fan freebsd_committer freebsd_triage 2008-05-17 14:21:33 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-05-17 14:21:39 UTC
rafan       2008-05-17 13:21:31 UTC

  FreeBSD ports repository

  Modified files:
    mail/postfixadmin    Makefile 
  Added files:
    mail/postfixadmin/files patch-functions.inc.php 
  Log:
  - Fix mysqli_real_escape_string syntax
  - Bump PORTREVISION
  
  PR:             ports/122735
  Submitted by:   Skalozubov Ilia <root at skinc.su>
  Approved by:    maintainer timeout (1 month)
  
  Revision  Changes    Path
  1.27      +1 -1      ports/mail/postfixadmin/Makefile
  1.1       +16 -0     ports/mail/postfixadmin/files/patch-functions.inc.php (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"