Why does a percentage sign cause Bad Request?
Discussion
It's because % is used to start a special charecter. For example %20 is a space in a urlencoded string. If that's a bit techy for you, look at a topic that has a space in the title, look click on it and look in the address bar. You should(!) see that spaces are changed to %20.
If a topic has a % in it and it isn't "escaped", then the server expects the following charecters to tell it what the special charecter is, if there isn't any then it's not a valid url, and fails.
Try it, change a %20 to %%"12312 or something, should break it nicley
.
If a topic has a % in it and it isn't "escaped", then the server expects the following charecters to tell it what the special charecter is, if there isn't any then it's not a valid url, and fails.
Try it, change a %20 to %%"12312 or something, should break it nicley
.Xenocide said:
It's because % is used to start a special charecter. For example %20 is a space in a urlencoded string. If that's a bit techy for you, look at a topic that has a space in the title, look click on it and look in the address bar. You should(!) see that spaces are changed to %20.
If a topic has a % in it and it isn't "escaped", then the server expects the following charecters to tell it what the special charecter is, if there isn't any then it's not a valid url, and fails.
Try it, change a %20 to %%"12312 or something, should break it nicley
.
hmm that doesn't work. No idea then. hahaIf a topic has a % in it and it isn't "escaped", then the server expects the following charecters to tell it what the special charecter is, if there isn't any then it's not a valid url, and fails.
Try it, change a %20 to %%"12312 or something, should break it nicley
.Gassing Station | Website Feedback | Top of Page | What's New | My Stuff




