Merge lp://staging/~cjwatson/launchpad/safer-ajax-strings into lp://staging/launchpad
Status: | Merged |
---|---|
Merged at revision: | 17815 |
Proposed branch: | lp://staging/~cjwatson/launchpad/safer-ajax-strings |
Merge into: | lp://staging/launchpad |
Diff against target: |
25 lines (+3/-2) 2 files modified
lib/lp/app/javascript/client.js (+2/-1) lib/lp/app/javascript/tests/test_lp_client.js (+1/-1) |
To merge this branch: | bzr merge lp://staging/~cjwatson/launchpad/safer-ajax-strings |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant (community) | code | Approve | |
Roberto Alsina (community) | Approve | ||
Review via email: mp+274166@code.staging.launchpad.net |
Commit message
Make the JS webservice client stringify string parameters rather than relying on lazr.restful's dodgy special casing.
Description of the change
lazr.restful has a special case in marshall_
I left ws.op unencoded, as that seemed likely to result in test fallout, and that parameter will always be an identifier anyway.
Thanks Colin, here is my totally useless but very gratueful +1 :-)