Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-DevPopup CPAN distribution.

Report information
The Basics
Id: 50096
Status: resolved
Priority: 0/
Queue: CGI-Application-Plugin-DevPopup

People
Owner: rhesa [...] cpan.org
Requestors: stro [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.01
Fixed in: (no value)



Subject: <script> escaping
Hello Rhesa, Can you add the following line to _escape_js? $j =~ s/script>/s" + "cript>/g; When "</script>" string somehow appears in $j, it breaks DevPopup javascript code, resulting in wrong output. When it's split to be in two strings, everything is ok. -- Serguei Trouchelle
On Tue Sep 29 11:26:29 2009, STRO wrote: Show quoted text
> Hello Rhesa, > > Can you add the following line to _escape_js? > > $j =~ s/script>/s" + "cript>/g; > > When "</script>" string somehow appears in $j, it breaks DevPopup > javascript code, resulting in wrong output. When it's split to be in two > strings, everything is ok.
Thanks Serguei, I've added this, and a new version is on its way to the CPAN. Rhesa