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 2010/12/05 02:38:28 UTC

DO NOT REPLY [Bug 50412] New: if IndexOptions +XHTML, the correct MIME type should be automatically choosen

https://issues.apache.org/bugzilla/show_bug.cgi?id=50412

           Summary: if IndexOptions +XHTML, the correct MIME type should
                    be automatically choosen
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_autoindex
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: calestyo@scientia.net


Hi.

It seems that even if IndexOptions +XHTML Apache sends "text/html" as MIME type
instead of the correct "application/xhtml+xml".
This should happen automatically.

Cheers,
Chris.

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

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


DO NOT REPLY [Bug 50412] if IndexOptions +XHTML, the correct MIME type should be automatically choosen

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50412

--- Comment #2 from Christoph Anton Mitterer <ca...@scientia.net> 2010-12-06 12:43:37 EST ---
I personally always had the experience that having text/html with XHTML makes
actually more troubles.

Typically browsers interpret it then as HTML (e.g. Firefox does so) and having
things like <textarea/> or <script/> which is totally valid in XHTML, breaks
the whole rendering.

And text/html is at least deprecated, IIRC.

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

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


DO NOT REPLY [Bug 50412] if IndexOptions +XHTML, the correct MIME type should be automatically choosen

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50412

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |34519

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

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


DO NOT REPLY [Bug 50412] if IndexOptions +XHTML, the correct MIME type should be automatically choosen

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50412

--- Comment #1 from Eric Covener <co...@gmail.com> 2010-12-05 13:43:26 EST ---
since XHTML1.0 says text/html is okay, this might be more harm than good. 
Probably necessary to make sure Accept header has the xhtml mimetype, and to
make it validate as xhtml 1.0 too.

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

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


DO NOT REPLY [Bug 50412] if IndexOptions +XHTML, the correct MIME type should be automatically choosen

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50412

--- Comment #3 from Christoph Anton Mitterer <ca...@scientia.net> 2010-12-06 17:01:19 EST ---
See also http://www.w3.org/TR/xhtml-media-types

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

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


[Bug 50412] if IndexOptions +XHTML, the correct MIME type should be automatically choosen

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50412

--- Comment #4 from Christoph Anton Mitterer <ca...@scientia.net> ---
All modernish browsers seem to fully support application/xhtml+xml in the
meantime... so this could really be done I guess.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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