Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 2.1-beta1
-
Fix Version/s: 2.1-RC2
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Patch Submitted:Yes
-
Number of attachments :
Description
The FormatOptionsKvpParser does not provide any escaping mechanism (I'm thinking along the lines of the comment in WFS 1.1.0 14.2.2). I don't know that this section of the specification is directly relevant but it does seem like FORMAT_OPTIONS (including VIEWPARAMS) should allow any values to be specified (particularly if character-based SQL parameters are being used). I have included an alternate implementation of FormatOptionsKvpParser that allows for values from KVPs to support backslash as an escape character and added supporting test cases.
The patch looks good to me. Justin, what do you think?