Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Query Strings

Name: Anonymous 2011-12-13 11:15

It was decided a certain people that the plus sign + should denote spaces in query strings. So whenever your submit a form using the GET method, your spaces are automatically converted to plus signs and your actual plus signs are automatically percent encoded in the resulting query string.

However, browsing the WWW today, you would think that the underscore _ was the standard. Every where you look, in query strings it is the underscore being used to substitute spaces, and never the plus sign.

So I ask /prog/, isn't it time these "standards" actually reflected the actual practice in the real world instead of arbitrarily forcing the plus sign upon us? It's clear that the world prefers the underscore over the plus sign in all situations where a space cannot be used, not just query strings.

Name: Anonymous 2011-12-13 14:39

what in the world

Name: Anonymous 2011-12-14 2:13

>>2
What don't you understand?

Name: Anonymous 2011-12-14 3:05

>>1
``Standards'' grow obsolete over time and can be safely ignored, given enough people do it.

Name: Anonymous 2011-12-14 11:00

Who the /prog/ uses underscores instead of spaces in the value portions of query strings? I've only seen plus signs (representing boolean AND) or %20 to symbolize a space. I've seen them used often in the key portions. Usually, though, the underscore is a valid character in a query.

Don't change these.
Name: Email:
Entire Thread Thread List