Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#1484517 closed Bugs (fixed)

App fails when magic_quotes_runtime is On in php.ini

Reported by: rob Owned by: till
Priority: 2 Milestone: 0.1-rc2
Component: PHP backend Version: 0.1-rc1
Severity: normal Keywords: magic quotes runtime
Cc:

Description

The app fails when magic_quotes_runtime is set on in php.ini (this is different to "normal" magic quotes on the get and post data). It looks like as the templates are read from file, all the double quotes within them are being escaped transparently with a backslash - the xhtml output then doesn't render. This problem can be fixed by issuing the command:

<?php
set_magic_quotes_runtime(0);
?>

At some point during the initialisation. I've set a low priority as not many people have magic_quotes_runtime on, but it would be robust to protect against it.

Change History (3)

comment:1 Changed 6 years ago by till

  • Owner set to till
  • Status changed from new to assigned

comment:2 Changed 6 years ago by till

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed both in trunk and devel-vnext.

Thanks!

comment:3 Changed 6 years ago by till

  • Milestone changed from 0.1-stable to 0.1-rc2
Note: See TracTickets for help on using tickets.