SMF Development > Fixed or Bogus Bugs
Forbidden Error w/More Than 3 URL Tags
MrPhil:
Possibly. Although, wouldn't only the message data be coming in on POST data, and thus examined by mod_security? I wouldn't think the other links output all over the page would be seen by mod_security. Would they?
Arantor:
Well, the original message says 'when anyone tries to post', so from that I take it to mean that it is during posting, and not after the fact.
The one (really poor) host I used to use had the same problem where it vetted incoming POST data, and failed where they contained that item.
MrPhil:
Eh? I don't quite follow. Aren't we in agreement that it is during posting, when the member submits their post and their text is in the (incoming) POST data and that's when mod_security disallows the operation? Is someone seeing something else?
Arantor:
I thought you were saying that there was a problem with the number of links in the post (and that the problem was when it was displayed after, hence the issue with the variety of http in content) but I think we are in agreement that it is mod_security causing it - but it's almost certainly the links themselves, not the number of links being posted.
stevemci:
The problem presented itself when a post had more than three <url> tags in it. It didn't matter where the links went to. You could use three of the tags but when you put in a fourth, blooey. You got the same failure when you tried to preview a post with more than three tags. I didn't test it with more than three "naked" urls.
The problem is now resolved. This is the response from the hosting company:
--- Quote ---Hello,
I have added modsecurity ID 300079 to the whitelist which was causing issues for your site.
Please test the forum and let us know if you encounter any issues further.
--- End quote ---
I don't know anything about modsecurity, hopefully that makes some sense to you.
Thanks for all your help.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version