Mantis - Quercus
Viewing Issue Advanced Details
1790 minor always 06-08-07 11:53 06-13-07 02:36
sam  
nam  
urgent  
closed 3.1.1  
fixed  
none    
none 3.1.2  
0001790: php code in drupal content causes exception
(rep by S Pannell)

Resin 3.1.1
windows XP
Drupal 5.1 with MySql 5.0

I have install and have running drupal 5.1 with resin 3.1.1. All appears to
work fine except one point. when attempting to enter php code in drupal
there is a problem with the entering of string quotes which get oddly
converted. Example (saved as a drupal block):

<?php
echo "hello world"
?>

I then save the php code as a drupal block, review the code and it now looks
like this:

<?php
echo \"hello world\"
?>

any attempt to run this and you get a servlet exception. It appears not to
be possible to enter any kind of quote character in drupal without it being
strangely altered. Only for the PHP code I should point out.

everything else appears to work fine and drupal is indeed running

Notes
(0002035)
nam   
06-13-07 02:36   
php/112g
php/1741