{"id":18180087,"date":"2024-12-05T08:17:12","date_gmt":"2024-12-05T08:17:12","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/python-in-code-block-preventing-post-saving\/"},"modified":"2024-12-05T08:17:12","modified_gmt":"2024-12-05T08:17:12","slug":"python-in-code-block-preventing-post-saving","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/python-in-code-block-preventing-post-saving\/","title":{"rendered":"Python in code block preventing post saving"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi! I noticed that when I write a post that contains certain types of Python code in a code block, or inline code, that the post won&#8217;t save while Jetpack Protect is active.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The specific error is:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">rule 932160 &#8211; reason Remote Command Execution: Unix Shell Code Found<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">This makes sense, but since the code is intentionally included inside a code syntax highlight block as part of the post content, I&#8217;d like to find a way around this.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do you have any suggestions?<\/p>\n","protected":false},"template":"","class_list":["post-18180087","topic","type-topic","status-publish","hentry","topic-tag-save-post"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18180087","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18180087\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18180087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}