/[suikacvs]/messaging/manakai/lib/Message/CGI/HTTP.pm
Suika

Diff of /messaging/manakai/lib/Message/CGI/HTTP.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by wakaba, Sun Nov 9 14:06:23 2008 UTC revision 1.6 by wakaba, Mon Nov 10 05:30:59 2008 UTC
# Line 202  sub request_uri ($;%) { Line 202  sub request_uri ($;%) {
202    if ($uri) {    if ($uri) {
203      $uri =~ s/\#[^#]*$//;  ## Fragment identifier not allowed here      $uri =~ s/\#[^#]*$//;  ## Fragment identifier not allowed here
204      $uri =~ s/\?[^?]*$// if $opt{no_query};      $uri =~ s/\?[^?]*$// if $opt{no_query};
205        $uri = $self->__uri_encode ($uri, qr([^\x00-\x7F]));
206      if ($uri =~ /^[0-9A-Za-z.%+-]+:/) {    ## REQUEST_URI is an absolute URI      if ($uri =~ /^[0-9A-Za-z.%+-]+:/) {    ## REQUEST_URI is an absolute URI
207        return Message::DOM::DOMImplementation->create_uri_reference ($uri);        return Message::DOM::DOMImplementation->create_uri_reference ($uri);
208      }      }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24