Teflpedia:Error 403

From Teflpedia
Jump to: navigation, search

In three occasions several pages have given an error 403, similar to this:


Access to this resource on the server is denied!

It is very likely that it is produced by Dathorn's (our webhost's) security filters.

September 2014[edit]

The problem occurred when editing some pages.

It turns out that for security reasons the symbols " and ' are forbidden in some contexts, to prevent hackers to execute code (such as Javascript) that was not supposed to be executed.

General solutions[edit]

Straight apostrophe ' can be replaced by its curly counterpart ’ ’

Straight single quotes as in 'example' can be replaced by their curly counterparts as in ‘example’ ‘example’

Straight double quotes as in "example" can be replaced by their curly counterparts as in “example” “example”

In tables, class="wikitable" can be replaced by class=wikitable.

Specific solutions[edit]

'a' or 'b' is not allowed, but 'a' xyz 'b' is. Instead of replacing all apostrophes by ‘ and ’ the 'r' of or can be replaced by r: 'a' or 'b'.

March 2016[edit]

User pages[edit]

This time we can't see some pages. Last time we could see them, but we couldn't edit them.

User pages get a 403 error. For example User:Bob_M or User:jddjhddhduyeuye. Talk pages don't have this problem; e.g. User talk:Bob_M.


Replace the colon by %3a as in http://teflpedia.com/User%3aBob_M. This does not work every time. If it fails just try again and it may work.

Depending on contents[edit]

A page that contains the sequence "Ips" or "I ps" will generate a 403 error when edited (this is similar to the error we had in 2014).

Other sequences that fail: "I id", "I ls", "I mail", "I nc", "I rm".


Replace any of the three offending chacarters by their HTML codes "Ips", "|ps" or "|pss".


Fixed. A mod_security rule was being triggered by User:<username> page requests. AndrewT at our Webhost, Dathorn, corrected that so that User:<username> pages are loading nicely again. --Roger (talk) 01:33, 20 September 2016 (UTC)

October 2018[edit]

This time we can't edit some pages that have curly quotes in their names, such as So-called “long o”. However we can edit sections of those pages.