You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Sylphid Su <sy...@hook.net.tw> on 1999/10/28 06:11:59 UTC

mod_rewrite/5210: mod_rewrite can't handle 8bit character(big5)?

>Number:         5210
>Category:       mod_rewrite
>Synopsis:       mod_rewrite can't handle 8bit character(big5)?
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Oct 27 21:20:00 PDT 1999
>Last-Modified:
>Originator:     sylphid@hook.net.tw
>Organization:
apache
>Release:        1.3.9
>Environment:
3.2-19990728-STABLE FreeBSD 3.2-19990728-STABLE
gcc version 2.7.2.3
>Description:
in apache httpd.conf :
RewriteEngine on
RewriteLog "/tmp/rewrite.log"
RewriteLogLevel 9
RewriteRule ^/(.+)$ /redir.phtml?name=$1

in /tmp/rewrite.log:
210.209.54.215 - - [28/Oct/1999:10:16:13 +0800] [aaa.consulting.com.tw/sid#813f0
34][rid#8179034/initial] (2) init rewrite engine with requested uri /kimo
210.209.54.215 - - [28/Oct/1999:10:16:13 +0800] [aaa.consulting.com.tw/sid#813f0
34][rid#8179034/initial] (3) applying pattern '^/(.+)$' to uri '/kimo'
210.209.54.215 - - [28/Oct/1999:10:16:13 +0800] [aaa.consulting.com.tw/sid#813f0
34][rid#8179034/initial] (2) rewrite /kimo -> /redir.phtml?name=kimo
210.209.54.215 - - [28/Oct/1999:10:16:13 +0800] [aaa.consulting.com.tw/sid#813f0
34][rid#8179034/initial] (3) split uri=/redir.phtml?name=kimo -> uri=/redir.phtm
l, args=name=kimo
210.209.54.215 - - [28/Oct/1999:10:16:13 +0800] [aaa.consulting.com.tw/sid#813f0
34][rid#8179034/initial] (2) local path result: /redir.phtml
210.209.54.215 - - [28/Oct/1999:10:16:13 +0800] [aaa.consulting.com.tw/sid#813f0
34][rid#8179034/initial] (2) prefixed with document_root to /usr/local/apache/ht
docs/redir.phtml
210.209.54.215 - - [28/Oct/1999:10:16:13 +0800] [aaa.consulting.com.tw/sid#813f0
34][rid#8179034/initial] (1) go-ahead with /usr/local/apache/htdocs/redir.phtml
[OK]

**** kimo is ok here

210.209.54.215 - - [28/Oct/1999:10:16:08 +0800] [aaa.consulting.com.tw/sid#813f0
34][rid#8179034/initial] (2) init rewrite engine with requested uri /�_��
210.209.54.215 - - [28/Oct/1999:10:16:08 +0800] [aaa.consulting.com.tw/sid#813f0
34][rid#8179034/initial] (3) applying pattern '^/(.+)$' to uri '/�_��'
210.209.54.215 - - [28/Oct/1999:10:16:08 +0800] [aaa.consulting.com.tw/sid#813f0
34][rid#8179034/initial] (1) pass through /�_��

*** can't handle 8bit characters "�_��" here
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]