Closed Bug 265365 Opened 20 years ago Closed 20 years ago

custhelp.com - all text sent as text/plain

Categories

(Tech Evangelism Graveyard :: English US, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: daton, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040825 Camino/0.8.1
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040825 Camino/0.8.1

Raw code is displayed in Camino and in Firefox (Mozilla/5.0 (Macintosh; U; PPC
Mac OS X Mach-O; rv:1.7.3 Gecko/20041001 Firefox/0.10.1) but displays properly
in Safari.

Reproducible: Always
Steps to Reproduce:
1. Load URL.
2.
3.

Actual Results:  
Raw code displayed.

Expected Results:  
Display formatted page.
Here's the code that is displayed:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >

<SCRIPT LANGUAGE="JavaScript1.1">
<!--
window.focus();//-->
</SCRIPT>
<html>
<head>
   
   <link rel=stylesheet type="text/css"
href="http://audible-metrics.custhelp.com/rnt/rnm/css/rnm.css">
   <title>Online Survey</title>
</head>
<body>
   <p><h3>Please answer the following questions:</h3></p>
<br>
 <form name="surveyform"
action="http://audible-metrics.custhelp.com/cgi-bin/audible_metrics.cfg/websurveys/submit"
method="POST" onSubmit="return online_submit()">
 <INPUT TYPE=hidden NAME="_147" VALUE="audbl@speedfactory.net">
<INPUT TYPE=hidden NAME="_133" VALUE="13">
<INPUT TYPE=hidden NAME="_143" VALUE="393355">
<INPUT TYPE=hidden NAME="_139" VALUE="1">
<SCRIPT LANGUAGE="JavaScript1.1">
<!--
function checkSpelling() 
{ 
    if ( navigator.javaEnabled() ) 
    { 
        invokeSpelling(); 
    } 
    else 
    { 
        alert( "It appears that your browser does not have Java enabled. Sorry,
spell checking cannot continue." ); 
    } 
} 
//-->
</SCRIPT>
    <!-- Unused background info http://audible-metrics.custhelp.com -->
    <p>1) How satisfied are you with our response time to your specific
question?</p> 
    <table border="0"> 
       <tr> 
            <td><input type="radio" name="_10225" value="1" ></td> 
            <td>&nbsp;</td> 
            <td>Very Satisfied</td> 
        </tr> 
        <tr> 
            <td><input type="radio" name="_10225" value="2" ></td> 
            <td>&nbsp;</td> 
            <td>Somewhat Satisfied</td> 
        </tr> 
        <tr> 
            <td><input type="radio" name="_10225" value="3" ></td> 
            <td>&nbsp;</td> 
            <td>No Opinion</td> 
        </tr> 
        <tr> 
            <td><input type="radio" name="_10225" value="4" ></td> 
            <td>&nbsp;</td> 
            <td>Somewhat Unsatisfied</td> 
        </tr> 
        <tr> 
            <td><input type="radio" name="_10225" value="5" ></td> 
            <td>&nbsp;</td> 
            <td>Very Unsatisfied</td> 
        </tr> 
        <tr> 
       </tr> 
    </table> 
    <!-- Unused background info http://audible-metrics.custhelp.com -->
    <p>2) How satisfied are you with the quality of the response you received
from our support staff?</p> 
    <table border="0"> 
       <tr> 
            <td><input type="radio" name="_10226" value="1" ></td> 
            <td>&nbsp;</td> 
            <td>Very Satisfied</td> 
        </tr> 
        <tr> 
            <td><input type="radio" name="_10226" value="2" ></td> 
            <td>&nbsp;</td> 
            <td>Somewhat Satisfied</td> 
        </tr> 
        <tr> 
            <td><input type="radio" name="_10226" value="3" ></td> 
            <td>&nbsp;</td> 
            <td>No Opinion</td> 
        </tr> 
        <tr> 
            <td><input type="radio" name="_10226" value="4" ></td> 
            <td>&nbsp;</td> 
            <td>Somewhat Unsatisfied</td> 
        </tr> 
        <tr> 
            <td><input type="radio" name="_10226" value="5" ></td> 
            <td>&nbsp;</td> 
            <td>Very Unsatisfied</td> 
        </tr> 
        <tr> 
       </tr> 
    </table> 
    <!-- Unused background info http://audible-metrics.custhelp.com -->
    <p>3) Did the response sent solve or answer your inquiry?</p> 
    <table border="0"> 
       <tr> 
            <td><input type="radio" name="_10227" value="1" ></td> 
            <td>&nbsp;</td> 
            <td>Yes</td> 
        </tr> 
        <tr> 
            <td><input type="radio" name="_10227" value="2" ></td> 
            <td>&nbsp;</td> 
            <td>No</td> 
        </tr> 
        <tr> 
       </tr> 
    </table> 
    <!-- Unused background info http://audible-metrics.custhelp.com -->
    <p>4) Has your experience with Audible's Customer Support changed your
opinion about the value and/or quality of our service?</p> 
    <table border="0"> 
       <tr> 
            <td><input type="radio" name="_10228" value="1" ></td> 
            <td>&nbsp;</td> 
            <td>Yes</td> 
        </tr> 
        <tr> 
            <td><input type="radio" name="_10228" value="2" ></td> 
            <td>&nbsp;</td> 
            <td>No</td> 
        </tr> 
        <tr> 
       </tr> 
    </table> 
    <!-- Unused background info http://audible-metrics.custhelp.com -->
    <p>5) If you answered yes to the above question, can you please tell us how
your opinion has changed?</p> 
    <table border="0"> 
       <tr> 
            <td><input type="radio" name="_10229" value="1" ></td> 
            <td>&nbsp;</td> 
            <td>Audible's Customer Support has increased the value of the
service</td> 
        </tr> 
        <tr> 
            <td><input type="radio" name="_10229" value="2" ></td> 
            <td>&nbsp;</td> 
            <td>Audible's Customer Support has decreased the value of the
service</td> 
        </tr> 
        <tr> 
       </tr> 
    </table> 
    <!-- Unused background info http://audible-metrics.custhelp.com -->
    <p>6) How satisfied are you with Audible's Customer Support?</p> 
    <table border="0"> 
       <tr> 
            <td><input type="radio" name="_10230" value="1" ></td> 
            <td>&nbsp;</td> 
            <td>Very Satisfied</td> 
        </tr> 
        <tr> 
            <td><input type="radio" name="_10230" value="2" ></td> 
            <td>&nbsp;</td> 
            <td>Somewhat Satisfied</td> 
        </tr> 
        <tr> 
            <td><input type="radio" name="_10230" value="3" ></td> 
            <td>&nbsp;</td> 
            <td>No Opinion</td> 
        </tr> 
        <tr> 
            <td><input type="radio" name="_10230" value="4" ></td> 
            <td>&nbsp;</td> 
            <td>Somewhat Unsatisfied</td> 
        </tr> 
        <tr> 
            <td><input type="radio" name="_10230" value="5" ></td> 
            <td>&nbsp;</td> 
            <td>Very Unsatisfied</td> 
        </tr> 
        <tr> 
       </tr> 
    </table> 
    <!-- Unused background info http://audible-metrics.custhelp.com -->
    <p>7) Can you tell us in a short summary how you would like us to improve
our customer support service?</p> 
    <textarea name="_10231_short" rows="3" cols="40" wrap="virtual"></textarea><br> 
<INPUT TYPE=hidden NAME="_233" VALUE="0">
<SCRIPT LANGUAGE="JavaScript1.1">
<!--
function online_submit() 
{
   var submit = true;
   return( submit );
}


//-->
</SCRIPT>
    <p>Submit Answer</p> 
    <table border="0" cellpadding="2"> 
        <tr> 
         <td><input type="submit" name="B1"  value="Submit" class="btn"></td>
  <td>&nbsp;</td> 
 <td><input type="reset" name="B2"  value="Clear" class="btn"></td>
  <td>&nbsp;</td> 

        </tr> 
    </table> 
    <input type=hidden name="_129" value="">
</form> 
<img src=http://audible-metrics.custhelp.com/rnt/rnm/img/powered_metrics1.gif>
</body>
</html>
I'm not familiar enough with the HTTP and HTML specs to say this definitively,
but I'm pretty sure the content/MIME type sent by the server takes priority over
that included in the page.  

The W3C validator reports that the URL referenced in the bug is being sent as
text/plain, not text/html (it's also invalid HTML; it's missing a <!DOCTYPE> tag
for starters), so on that basis Camino/Firefox are doing the right thing by
displaying it as raw source.  

daton@speedfactory.net, you should let the webmaster of the site know that
his/her server is misconfigured and is sending html content as text/plain rather
than text/html.

If I my recollection of the server content-type taking priority is correct, then
this bug should probably either be closed (notabug?) or transferred over to the
Browser product (since it affects Firefox, and likely Seamokey, too) as a
request for enhancement for "guessing that text/plain is sometimes text/html,"
if such a bug does not already exist.  (This "guessing" is what Safari is doing
in deciding to render the page as HTML).
Closing as this is an issue at the servers side. The server is indeed giving the
wrong mime type to the file.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
additionally, if it also happens in firefox, it shouldn't go into camino's
product. it's a general mozilla bug.
-> TE
Status: RESOLVED → UNCONFIRMED
Component: General → English US
Product: Camino → Tech Evangelism
Resolution: INVALID → ---
Summary: Raw code displayed instead of formatted page → audible-metrics.custhelp.com - all text sent as text/plain
Assignee: pinkerton → english-us
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: english-us
*** Bug 271728 has been marked as a duplicate of this bug. ***
Also happens at this page: http://eade-metrics.custhelp.com/
Summary: audible-metrics.custhelp.com - all text sent as text/plain → custhelp.com - all text sent as text/plain
*** Bug 274357 has been marked as a duplicate of this bug. ***
Both URLs are now sent as text/html. Please reopen if the server sends any other
documents as text/plain improperly.
Status: NEW → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: