Game Development Community

(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:

Quote:Forbidden
You don't have permission to access /mg/forums/result.thread.php on this server.
pages we would all get from time to time. It's a simple tab.

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.


#1
05/13/2005 (11:08 am)
Another good reason people should use spaces instead of tabs in their code :)
#2
05/13/2005 (11:10 am)
Bah! Tabs forever! :P
#3
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
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.
#6
05/13/2005 (4:07 pm)
Or..

"Please_enter_the_amount_of_money_you_wish_to_withdraw:"
#7
05/13/2005 (9:19 pm)
DOH! Frogger got my back.

Does that mean I stand uncorrected?
#8
05/18/2005 (10:29 am)
Marked as fixed until I am notified otherwise.