Well, Wade, thank you sincerely for your explanation, but
WTF?
That is total bullshit. You've got to be fucking kidding
me.
You guys just decided that you weren't going to "allow"
colons in
URLs? You guys really need to take a good long look at
RFC 2396
and get with the program.
Thanks for the suggestions, but if I wanted to put the
data in
the query string, I would have. As it is, I want it in
the path
/ PATH_INFO (something else botched in your servers). And
there
is no entity body in a URL. Colons are allowed exactly
where I
put them, in the path portion of the URL. Again, see RFC
2396.
Jesus christ, thank god I choose Apache.
>-----Original Message-----
>Hi JMM,
>
>IIS does not permit colons in the URL. This is because
the NTFS file system
>considers a colon to be a special character that's used
to denote alternate
>streams within a file. If your example URL below were
handled by the static
>file handler in IIS, it would attemps to open the stream
called "blah"
>within a file called "blah" in the "script.cfm" directory
under wwwroot.
>
>More specifically, without this limitation, if a client
were to request
>http://www.example.com/script.cfm::$data, then the
contents of the
>script.cfm file would get sent to the client instead of
invoking ColdFusion
>to process script.cfm.
>
>If you want to prevent IIS from parsing your data, then
put it either in the
>query string or the entity body. A colon would be
allowed in either of
>those places.
>
>Thank you,
>-Wade A. Hilmo,
>-Microsoft
>
>
>"JMM" <anonymous DeleteThis @discussions.microsoft.com> wrote in
message
>news:930440B3-B280-4F2D-8EB0-8FFF8388FDDE@microsoft.com...
>> I'm programming a script that pulls data out of the
PATH_INFO environment
>variable. All of a sudden, when I try sending some data
that includes colons
>(":") in the URL, IIS chokes and returns a 404 error.
Bull****.
>>
>> Despite the fact that colons are permitted in the path
portion of the URL,
>I tried encoding them and got the same result.
>>
>> What is the deal with this? Is there any way to make it
work right?
>>
>> For example:
<font color=green> >> <a style='text-decoration: underline;' href="http://www.example.com/script.cfm/blah/</font" target="_blank">http://www.example.com/script.cfm/blah/</font</a>>
>>
>> = fine
>>
>> ----------
>>
<font color=green> >> <a style='text-decoration: underline;' href="http://www.example.com/script.cfm/blah::blah/</font" target="_blank">http://www.example.com/script.cfm/blah::blah/</font</a>>
>>
>> or
>>
<font color=green> >> <a style='text-decoration: underline;' href="http://www.example.com/script.cfm/blah%3A%3Ablah/</font" target="_blank">http://www.example.com/script.cfm/blah%3A%3Ablah/</font</a>>
>>
>> = 404
>>
>> (both URLs work fine on Apache / Linux).
>>
>>
>
>
>.
><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: IIS chokes on URLs with colons?