[wp-trac] [WordPress Trac] #37266: AJAX uploads fail to complete successfully when a cookie named "action" exists
WordPress Trac
noreply at wordpress.org
Sat Apr 20 02:49:40 UTC 2019
#37266: AJAX uploads fail to complete successfully when a cookie named "action"
exists
----------------------------+----------------------
Reporter: pembo13 | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Administration | Version: 4.5.3
Severity: normal | Resolution: invalid
Keywords: | Focuses:
----------------------------+----------------------
Comment (by pembo13):
@desrosj this really isn't about overwriting variables. I'm not sure that
it should be acceptable for WordPress AJAX to break just because a cookie
exists with the name "action" even through WordPress itself isn't
explicitly looking for a cookie.
Checking $_GET or $_POST would avoid this. Also, it's a very difficult bug
to track down once it's triggered.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37266#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list