You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Jeremy Quinn <je...@media.demon.co.uk> on 2000/06/01 11:15:29 UTC

Re: Encoded URL problem

At 14:03 -0400 31/05/00, Berin Loritsch wrote:
>Jeremy Quinn wrote:
>
>> When the request with path args comes in to the server, the "?" and "="
>> have been URL encoded thus:
>>
>>         /samples/smil/slides.xml%3fsection%3d3
>>
>> The server then returns a 404 and the plugin hangs =:)
>>
>> Would people consider this to be the fault of the server (IWS iServer on
>> MacOS9) not URL Decoding properly, or the fault of QuickTime for URL
>> Encoding those special characters in the first place.
>
>Hopefully, this helps--but those are legitimate encodings for the URL.
>According to the limited exposure I had doing straight CGI programming,
>the impetus for decoding the URL is on the CGI program.

That's what I thought, it is also possible that the server people never
expected to see those characters URL Encoded.

>It looks like a bug in Quicktime because it is not passing parameters

I now understand it is a known bug in the version of QuickTime I have
installed.

>The work-around (if you are using Cocoon2) would be the sitemap, and
>you would use the regular expression to rename the URL.  It's ugly, but
>it would probably work.

Not practical for me.

At 14:08 -0400 31/05/00, Berin Loritsch wrote:
>Just a thought: is the SMIL formatter escaping the URLs in the code?  If that
>is where the problem lies, the problem would be solved by correcting the code.
>Make sure that SMIL supports the URI?parameter=value construct before you
>do that, though.

No it's not, but thanks anyway.

Jeremy
-- 
   ___________________________________________________________________

   Jeremy Quinn                                           Karma Divers
                                                       webSpace Design
                                            HyperMedia Research Centre

   <ma...@mac.com>     		 <http://www.media.demon.co.uk>
    <phone:+44.[0].20.7737.6831>        <pa...@sms.genie.co.uk>