Getting "Forbidden" when trying to post replies

Announcements, comments, ideas, feedback, and "How do I... ?" questions
Post Reply
aepaegayah
Posts: 8
Joined: Thu Sep 29, 2022 11:57 am

Getting "Forbidden" when trying to post replies

Post by aepaegayah »

Hello,

I have started a thread at viewtopic.php?t=7520; however, when attempting to post a reply, the server is saying that I do not have permission:
Forbidden

You don't have permission to access this resource.
Is this just some silly PEBKAC error?
User avatar
euler
Administrator
Posts: 5095
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: Getting "Forbidden" when trying to post replies

Post by euler »

That is most peculiar. I'm not sure what is causing it. Maybe you could try refreshing the page and trying to post again or signing out and signing back in again? The other possibility is that your post contains something that the server security mod is not liking. You could try posting different parts of the post to see if you can identify which part is causing the problem.

It will be interesting to see if you can reply to this message.
Image
impudens simia et macrologus profundus fabulae
aepaegayah
Posts: 8
Joined: Thu Sep 29, 2022 11:57 am

Re: Getting "Forbidden" when trying to post replies

Post by aepaegayah »

Taking a bit of a closer look, I seem to be hitting some case in the input sanitizer or something. A string that looks like a Request-Line of an HTTP request ends up triggering the Forbidden message when trying to submit or even preview a message.

For example, in the line below, replacing "<version>" with "1.1" or "2" triggers the error. Note, that the string doesn't even need to be isolated on its own line; it can be embedded within other text.

GET / HTTP/<version>
Post Reply