admin管理员组文章数量:1391991
In an updated and unadorned WordPress installation, with only the Classic Editor plugin enabled, and the 2017 theme, I get a weird error.
When I try to save a draft of a post containing this
<code>curl "http://localhost:64410/api/yoyo?value1=val&value2=val2"<code>
I always get a 403 Forbidden error on a splash page from WordPress. If I change it to
<code>curl -X GET "http://localhost:64410/api/yoyo?value1=val&value2=val2"<code>
or
<code>curl "localhost:64410/api/yoyo?value1=val&value2=val2"<code>
I don't get the 403 and the post goes through. Whisky Tango Foxtrot? I'm pretty sure I don't have anything misconfigured in my installation.
This looks like it might be some built-in cross-site-scripting-prevention trap or something. But it's an awfully crude error message.
Do you know how I can get my desired content into my post?
(I'm writing a tech post about web service development.)
本文标签: wp adminClassic editor throws 403 error based on post content
版权声明:本文标题:wp admin - Classic editor throws 403 error based on post content 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744579040a2613804.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论