Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#401 closed defect (fixed)

dojo.io.XMLHTTPTransport.canHandle seems to be a typo, "".toLowerCase()

Reported by: rfa@… Owned by: anonymous
Priority: high Milestone:
Component: General Version: 0.2
Keywords: Cc:
Blocked By: Blocking:

Description

Just guessing but (kwArgs["mimetype"]||"".toLowerCase())
was probably meant to be (kwArgs["mimetype"].toLowerCase()||"")
in the code below:


		return hasXmlHttp
			&& dojo.lang.inArray((kwArgs["mimetype"]||"".toLowerCase()), ["text/plain", "text/html", "application/xml", "text/xml", "text/javascript", "text/json"])
			&& dojo.lang.inArray(kwArgs["method"].toLowerCase(), ["post", "get", "head"])
			&& !( kwArgs["formNode"] && dojo.io.formHasFile(kwArgs["formNode"]) );

Change History (2)

comment:1 Changed 13 years ago by alex

Milestone: 0.3release
Resolution: fixed
Status: newclosed

fixed in [3071]

comment:2 Changed 12 years ago by (none)

Milestone: 0.3release

Milestone 0.3release deleted

Note: See TracTickets for help on using tickets.