Arthit Suriyawongkul writes:
On 07/11/2007, Arthit Suriyawongkul <arthit@xxxxxxxxx> wrote:whenever I type " or ' in my dokuwiki ( http://cc.in.th/wiki/ ) it will always be converted to \" and \' when I save the page.I just realized that in my DW installation, I also installed a modified version of Mark Cunningham's WordPress authentication. code is at: http://arthit.googlepages.com/bazaar http://arthit.googlepages.com/dw-wordpress-auth-1.2.1.zip in the code, there're few lines that call remove_magic_quotes( ) for $GET, $POST, and several vars. do you think it is because of this ?
Yes. Both systems, DokuWiki and WordPress handle the stupid MagicQuote setting resulting in double encoding. Simply disabling magic quotes in your PHP config should fix the problem
Andi -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist