Bug Thread with python and sqlalchemy code is being blocked by Cloudflare

  • Thread starter Thread starter Wrichik Basu
  • Start date Start date
AI Thread Summary
Users are experiencing issues posting threads in the Programming section due to Cloudflare's security measures, which block submissions that may contain certain words, SQL commands, or malformed data. The error message indicates that the action triggered a security solution, preventing the post from going through. To resolve the issue, users are advised to contact the site owner, providing details of the action taken and the Cloudflare Ray ID. Additionally, attempts to attach files are also being blocked, complicating the situation further. This indicates a need for adjustments in the site's security settings to accommodate legitimate programming content.
Wrichik Basu
Science Advisor
Insights Author
Gold Member
Messages
2,180
Reaction score
2,717
I was trying to post a thread in the Programming section, when I started receiving error dialogs when I clicked on "Post Thread". The console shows this:

HTML:
    <div class="cf-section cf-wrapper">
        <div class="cf-columns two">
          <div class="cf-column">
            <h2 data-translate="blocked_why_headline">Why have I been blocked?</h2>

            <p data-translate="blocked_why_detail">This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.</p>
          </div>

          <div class="cf-column">
            <h2 data-translate="blocked_resolve_headline">What can I do to resolve this?</h2>

            <p data-translate="blocked_resolve_detail">You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.</p>
          </div>
        </div>
      </div><!-- /.section -->

The thread contents is attached as a .txt file.

Not sure what I should do now. I know this is set up for security, but it probably requires some re-work.

Edit: Apparently I cannot attach the file either?! I've uploaded it here.
 
Last edited:
Physics news on Phys.org
testing

JavaScript:
<!DOCTYPE html>
<html>
<head>
<title>Hello World Program</title>
</head>
<body>
  <div id="message"></div>
  <script>
    document.getElementById("message").textContent = "Hello, World!";
  </script>
</body>
</html>
 

Similar threads

Replies
5
Views
2K
Replies
8
Views
13K
Replies
94
Views
11K
Replies
4
Views
4K
Back
Top