[wp-trac] [WordPress Trac] #43605: Add HTTP/1.0 emulation to apiRequest()

WordPress Trac noreply at wordpress.org
Fri Apr 6 03:57:57 UTC 2018


#43605: Add HTTP/1.0 emulation to apiRequest()
-------------------------+-----------------------
 Reporter:  pento        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  5.0
Component:  REST API     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  rest-api
-------------------------+-----------------------

Comment (by pento):

 It looks like modsec has some interesting rules that block form encoded
 strings, but don't block JSON encoded strings. So, we should send things
 as JSON.

 See: https://github.com/WordPress/gutenberg/pull/5971

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43605#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list