Bug 122735

Summary: [patch] Port mail/postfixadmin - incorrect syntax in mysqli_real_escape_string function
Product: Ports & Packages Reporter: Skalozubov Ilia <root>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

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"