Bug #3008
closedixsl:query-params() does not allow for multiple values associated with a single field
100%
Description
The query string of a URL may have multiple values for a single field, e.g. field1=value1&field1=value2&field2=value3. For example, for a query string resulting from an HTML form. However, ixsl:query-params() returns an XDM map (where keys are unique) which is built from the query string without preserving duplicates.
Updated by Debbie Lockett about 8 years ago
- Status changed from New to Resolved
In fact, there is a problem when the query string contains ANY multiple pairs (whether or not keys were duplicated) - only the first pair is returned in the ixsl:query-params() map.
Fix committed for both of these problems - the returned map contains one pair per key, and when a key is duplicated its value is a sequence.
e.g: when the query string is field1=value1&field1=value2&field2=value3, ixsl:query-params() returns map{field1": ("value1", "value2"), "field2 "value3"}
Updated by Debbie Lockett almost 8 years ago
- Fixed in version set to 0.9.1
Bug fix applied in the Saxon-JS 0.9.1 beta release.
Updated by Debbie Lockett almost 8 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
Bug fix applied in the Saxon-JS 0.9.1 beta release.
Updated by Community Admin over 7 years ago
- Fixed in JS Release set to Saxon-JS 0.9.1
- Applies to JS Branch 0.9 added
- Fix Committed on JS Branch 0.9 added
Please register to edit this issue
Also available in: Atom PDF Tracking page