[Chameleon-dev] [Bug 1022] JSAPI: javascript error when DATA statement contains '

bugzilla-daemon at maptools.org bugzilla-daemon at maptools.org
Tue May 10 03:24:39 EDT 2005


http://www.maptools.org/bugzilla/show_bug.cgi?id=1022





------- Additional Comments From bartvde at xs4all.nl  2005-05-10 03:24 -------
Daniel,

I do agree with you that the DATA statements shouldn't be transferred to the
client app. Previously also the CONNECTION was transferred if I recall correctly. 

I don't see any current use of DATA in the Chameleon code but I could be
overseeing something. Paul is it actually used?

Anyway, for the quick fix, adding an addslashes solves the problem:

$szLayerInfo .="aLayerdata[".$i."] = '" .  addslashes($poLayer->data) . "';\n";

Bart



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Chameleon-dev mailing list