[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: ap_unescape_url can't escape %uXXXX
From:       Joe Schaefer <joe () sunstarsys ! com>
Date:       2002-11-30 0:51:59
[Download RAW message or body]

Tatsuhiko Miyagawa <miyagawa@edge.co.jp> writes:

> At 29 Nov 2002 02:17:31 -0500,
> Joe Schaefer wrote:
>  > > It seems that Apache's ap_unescape_url() can't handle %uXXXX style
> > > URI-escaped Unicode string, hence Apache::Request cannot neighther,
> > > while CGI.pm can.
> 
> my WinIE 5.5 / WinIE 6.0 uses this style of URI escaping when you use
> javascript to submit page's content. 
  ^^^^^^^^^^

AFAICT ECMA-262 does NOT use %uXXXX for encoding full URI's (see 15.1.3's
description of the encodeURI function).  However, Appendix B.2 
does describe %uXXXX as an "extended feature" of the escape/unescape 
functions.

> (Well, I'm talking about MovableType's bookmarklet, if you're
> interested) 

Yes, I'm interested.  I'm just not certain about who to blame 
for that :-).  FWIW, I'm +1 on apreq supporting this, even if 
dev@httpd.apache.org decides against it.

-- 
Joe Schaefer
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic