[bugs] [Bug 1212] Changed - addslashes javascript problem

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Mar 27 12:51:18 PST 2003


http://bugs.horde.org/show_bug.cgi?id=1212

*** shadow/1212	Thu Mar 27 12:25:12 2003
--- shadow/1212.tmp.19110	Thu Mar 27 12:51:17 2003
***************
*** 3,10 ****
  Version: 2.2 Stable
  Platform: PHP Code
  OS/Version: All
! Status: NEW   
! Resolution: 
  Severity: normal
  Priority: P2
  Component: IMP
--- 3,10 ----
  Version: 2.2 Stable
  Platform: PHP Code
  OS/Version: All
! Status: RESOLVED   
! Resolution: WONTFIX
  Severity: normal
  Priority: P2
  Component: IMP
***************
*** 43,45 ****
--- 43,59 ----
  
  --aaron 
  
+ 
+ ------- Additional Comments From jan at horde.org  03/27/03 12:51 -------
+ I don't want to offend anyone, but magic_quotes_sybase is one of the stupidest
+ php settings ever invented.
+ 
+ Checking for this setting would cause a huge overhead, no one should have
+ enabled this setting anyway.
+ 
+ addcslashes() is no solution either because it escapes far too much characters
+ and in a way that javascript doesn't understand completely.
+ 
+ I'd suggest to disable magic_quotes_sybase in the horde directory if you can't
+ turn it off completely. This way both, Horde and your applications that rely on
+ this setting keep working next to each other.


More information about the bugs mailing list