Opened 14 years ago
Closed 14 years ago
#3534 closed defect (fixed)
0.9: Dojo support for PUT filtering of URL parameters (dojo.xhrPut())
Reported by: | guest | Owned by: | James Burke |
---|---|---|---|
Priority: | high | Milestone: | 0.9beta |
Component: | IO | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Say URL = http://localhost:8081/doit?Z%2524db=db1&Z%2524user=johngalt If I pass URL to dojo.xhr{Get,Delete}, the URL is passed to the server "as is". If I pass URL to dojo.xhrPut, the URL is truncated and xhr transmits only "http://localhost:8081/doit" as the URL.
I realize that PUT is supposed to pass its content separately from the "url" property of the xhrPut(args), but contend that the client's URL should be respected and left unmodified.
Thanks,
Avraham
Change History (3)
comment:1 Changed 14 years ago by
Component: | General → IO |
---|---|
Owner: | changed from anonymous to alex |
comment:2 Changed 14 years ago by
Milestone: | → 0.9beta |
---|---|
Owner: | changed from alex to James Burke |
Status: | new → assigned |
I'll take a look since I'm already looking at xhr code.
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [9401]) Fixes #3534. args.url query params are not added to the list of params inside of dojo._ioSetArgs, but query params discovered as a result of dojo._ioSetArgs can be added to the querystring for qualifying http methods. The result is that the input args.url is preserved with its querystring params.
Alex,