Ticket #201 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

parseQueryString doesn't work when '&' is represented by an XML entity

Reported by: sky@columbia.edu Assigned to: somebody
Priority: normal Milestone:
Component: component1 Version:
Severity: normal Keywords:
Cc:

Description

'&' can be represented as '&' or '&' and neither is parsed correctly by parseQueryString. For example:

parseQueryString('foo=bar&fu=bar') 
yields {'foo':'bar','amp;fu':'bar'}
but should yield {'foo':'bar','fu':'bar'}

Fix provided in patch.

Attachments

parseAmps.patch (0.5 kB) - added by sky@columbia.edu on 10/17/06 08:03:59.
parseQueryString fix for '&' parsing

Change History

10/17/06 08:03:59 changed by sky@columbia.edu

  • attachment parseAmps.patch added.

parseQueryString fix for '&' parsing

10/17/06 10:28:48 changed by bob@redivi.com

  • status changed from new to closed.
  • resolution set to fixed.