(fixed) Tabs cause "Forbidden" page on posts!
by Tom Spilman · in Site Feedback · 05/13/2005 (10:09 am) · 8 replies
I... ummm.... "debugged" one of my postings until i found the cause of the:
Do this as a test. Open notepad put in a single tab and copy it into the clipboard. Try to add a new post with just a few words then paste the tab (you can paste it anywhere). You will get the "Forbidden" page. Go back and remove the tab but keep everything else the same and the post works fine. This also happens with editing existing posts.
This seems to happen most often when you cut and past code into your post for obvious reasons.
Quote:Forbiddenpages we would all get from time to time. It's a simple tab.
You don't have permission to access /mg/forums/result.thread.php on this server.
Do this as a test. Open notepad put in a single tab and copy it into the clipboard. Try to add a new post with just a few words then paste the tab (you can paste it anywhere). You will get the "Forbidden" page. Go back and remove the tab but keep everything else the same and the post works fine. This also happens with editing existing posts.
This seems to happen most often when you cut and past code into your post for obvious reasons.
About the author
Tom is a programmer and co-owner of Sickhead Games, LLC.
#2
05/13/2005 (11:10 am)
Bah! Tabs forever! :P
#3
No such thing as a good reason for spaces in code, lol
;-)
05/13/2005 (12:58 pm)
Quote:Another good reason people should use spaces instead of tabs in their code :)
No such thing as a good reason for spaces in code, lol
;-)
#4
"Pleaseentertheamountofmoneyyouwishtowithdraw:"
05/13/2005 (2:44 pm)
Hmm... without spaces your text prompts would look a bit strange:"Pleaseentertheamountofmoneyyouwishtowithdraw:"
#5
05/13/2005 (4:03 pm)
DOH! I stand corrected.
#8
05/18/2005 (10:29 am)
Marked as fixed until I am notified otherwise.
Torque Owner Todd D. Degani