Mantis - Quercus
Viewing Issue Advanced Details
2202 major always 11-25-07 03:11 11-26-07 14:34
dsconnelly  
nam  
normal  
closed 3.1.3  
fixed  
none    
none 3.1.3  
0002202: Function str_replace has incorrect output for literal backslash in replacement
Code is:

str_replace('"','\"','<div id="gmapmarker">')

Result is:

<div id="gmapmarker">

Should be:

<div id=\"gmapmarker\">
Impact: well-known Google Map handler fails

See: http://www.phpinsider.com/php/code/GoogleMapAPI/ [^]

GoogleMapAPI-2.5 demo code (SYNOPSIS) works correctly under mod_php, but fails on Quercus.

Notes
(0002520)
nam   
11-26-07 14:34   
php/1611

Issue exists on 3.1.3 but does not exist in the trunk. GoogleMapApi 2.5 is confirmed working on Quercus.