You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/02/02 19:19:32 UTC

DO NOT REPLY [Bug 41529] New: - Saving .htaccess using uft-8 returns an "Internal Server Error"

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41529>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41529

           Summary: Saving .htaccess using uft-8 returns an "Internal Server
                    Error"
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: landemaine@gmail.com


If you save the .htaccess file using ISO-8859-1 or Windows 1252 encodings, it 
works fine. But if you use utf-8 recommended and universal encoding, Apache 
triggers an "Internal Server Error". I have tried several hours creating some 
rules, and when I found out nothing worked, all of the sudden I saw Apache did 
not accept utf-8. Most operating systems and applications are migrating to utf-
8 to support international languages, so it would be a good thing to work 
properly with utf-8.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 41529] - Accept BOM in .htaccess

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41529>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41529


nick@webthing.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
            Summary|Saving .htaccess using uft-8|Accept BOM in .htaccess
                   |returns an "Internal Server |
                   |Error"                      |




------- Additional Comments From nick@webthing.com  2007-02-02 13:55 -------
That'll be a BOM, inserted by your editor.  I'm not convinced we gain anything
by accepting a BOM in .htaccess files, but I'll leave it open as an enhancement
request.

You might want to submit a bug report to the developers of your editor, if it
inserts binary stuff in a text file without telling you.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 41529] - Accept BOM in .htaccess

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41529>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41529





------- Additional Comments From wrowe@apache.org  2007-02-26 00:45 -------
I thought I had hacked ap_popen/read eons ago to address this, wonder
if it fell off the map, or I'm misremembering.  I'll take a peek.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 41529] - Accept BOM in .htaccess

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41529>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41529





------- Additional Comments From wrowe@apache.org  2007-09-27 00:09 -------
Whoops, wrong patch, the patch in the above comment relates to CGI (and could be
applied to perl python and possibly other environments when on unix.)

The patch you wanted was;

http://svn.apache.org/viewvc?view=rev&revision=94446

and is wrapped in an #ifdef WIN32 that is easily stripped off to apply to any
platform at all.

By rights this is a dup of 10125, but you are asking across platforms.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 41529] - Accept BOM in .htaccess

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41529>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41529





------- Additional Comments From wrowe@apache.org  2007-02-26 01:03 -------
http://mail-archives.apache.org/mod_mbox/httpd-dev/200303.mbox/%3cn2m-g.ncsueipv7xln$ndparker@news.perlig.de%3e

This was done for Win32 script shebang parsing, since httpd has a rule to ignore
leading whitespace, I don't see why avoiding these first three bytes would be
a bad thing for conf file parsing (minimal overhead).

That PR was 16687, see

http://svn.apache.org/viewvc?view=rev&revision=98775

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org