Ticket #2530091 (closed defect)

Reporter


Standa Opichal
Opened: 04/6/11
Last modified: 08/18/11
Status: closed
Type: defect
Resolution: fixed

Owner


Thomas S. Sha
Target Release: 3.4.0
Priority: P3 (normal)
Summary: Y.io should not send 'data' for GET, HEAD and DELETE methods
Description:

For IEs with 'Enable native XMLHTTP Request' unchecked (Internet Options -> Advanced -> Security http://msdn.microsoft.com/en-us/library/ms537505(v=vs.85).aspx).

This causes the request converted 'magically' to POST. This is caused by the fact that Y.io sends the passed 'data' field without changes. IE expects exactly null value in the send() method for GETs
otherwise it just overrides the actual HTTP method used on the wire.

Type: defect Observed in Version: 3.3.0
Component: IO Severity: S3 (normal)
Assigned To: Thomas S. Sha Target Release: 3.4.0
Location: Library Code Priority: P3 (normal)
Tags: Relates To:
Browsers: IE 7.x,IE 8.x
URL:
Test Information:

Change History

Thomas S. Sha

YUI Contributor

  • Username: tsha
Posted: 04/6/11
  • location changed to Library Code
  • milestone changed to 3.4.0
  • priority changed to P3 (normal)
  • status changed from new to accepted

The c.data field should be set to null, after the querystring is assembled from the data property, for the mentioned HTTP verbs.

Thomas S. Sha

YUI Contributor

  • Username: tsha
Posted: 04/26/11
  • milestone changed from 3.4.0 to 3.4.0 PR1

Thomas S. Sha

YUI Contributor

  • Username: tsha
Posted: 05/6/11
  • status changed from accepted to checkedin

Build 3362.

Config.data is now set to null after appending to uri as a querystring, for the specified HTTP verbs.

George

YUI Developer

  • Username: george
Posted: 06/8/11
  • milestone changed from 3.4.0 PR1 to 3.4.0

George

YUI Developer

  • Username: george
Posted: 06/8/11
  • sprint changed to sprint 1

George

YUI Developer

  • Username: george
Posted: 08/18/11
  • resolution changed to fixed
  • status changed from checkedin to closed