Closed Bug 274357 Opened 20 years ago Closed 20 years ago

custhelp.com - HTML served as text/plain

Categories

(Tech Evangelism Graveyard :: English US, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 265365

People

(Reporter: peabody, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

I reci9ved the link in an e-mail. I clicked on it and although Mozilla Firefox
opens, the result is a page of HTML source code and no page is rendered.

Reproducible: Always
Steps to Reproduce:
1.Simply enter the URL above
2.
3.

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

<SCRIPT LANGUAGE="JavaScript1.1">
<!--
window.focus();//-->
</SCRIPT>
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

   <link rel=stylesheet type="text/css"
href="http://epocrates1-metrics.custhelp.com/rnt/rnm/css/rnm.css">
   <title>Online Survey</title>
</head>
<body>
   <p><h3>Please submit your answers by checking the appropriate response for
each question:</h3></p>
<br>
 <form name="surveyform"
action="http://epocrates1-metrics.custhelp.com/cgi-bin/epocrates1_metrics.cfg/websurveys/submit"
method="POST" onSubmit="return online_submit()">
 <INPUT TYPE=hidden NAME="_147" VALUE="">
<INPUT TYPE=hidden NAME="_133" VALUE="28">
<INPUT TYPE=hidden NAME="_143" VALUE="43351">
<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>
        <b><FONT SIZE=5>Part 1 of 3: Download and Installation</b></font><br> 
    <!-- Unused background info http://epocrates1-metrics.custhelp.com -->
    <table border="1"> 
       <tr> 
            <td colSpan=2>&nbsp;</td> 
            <td align=center>&nbsp;1 - 10 minutes&nbsp;</td>
            <td align=center>&nbsp;11- 20 minutes&nbsp;</td>
            <td align=center>&nbsp;21 - 30 minutes&nbsp;</td>
            <td align=center>&nbsp;Over 30 minutes&nbsp;</td>
            <td align=center>&nbsp;Did not successfully complete
installation&nbsp;</td>
       </tr> 
    <!-- Unused background info http://epocrates1-metrics.custhelp.com -->
           <td align=left colSpan=2> 
               <p>1)  If you successfully installed Epocrates Essentials/Rx Pro
v7 for Palm/Mac onto your handheld, how long did the process take for the
initial download, installation and first HotSync?</p> 
           </td> 
            <td align=center><input type="radio" name="_10225" value="1" ></td> 
            <td align=center><input type="radio" name="_10225" value="2" ></td> 
            <td align=center><input type="radio" name="_10225" value="3" ></td> 
            <td align=center><input type="radio" name="_10225" value="4" ></td> 
            <td align=center><input type="radio" name="_10225" value="5" ></td> 
       </tr> 
    </table> 
    <!-- Unused background info http://epocrates1-metrics.custhelp.com -->
    <p>2) If you did not have a successful installation, please provide a short
description of your difficulties.</p> 
    <textarea name="_10226_short" rows="3" cols="40" wrap="virtual"></textarea><br> 
    <!-- Unused background info http://epocrates1-metrics.custhelp.com -->
    <table border="1"> 
       <tr> 
            <td colSpan=2>&nbsp;</td> 
            <td align=center>&nbsp;Excellent&nbsp;</td>
            <td align=center>&nbsp;Good&nbsp;</td>
            <td align=center>&nbsp;Average&nbsp;</td>
            <td align=center>&nbsp;Below Average&nbsp;</td>
            <td align=center>&nbsp;Poor&nbsp;</td>
       </tr> 
    <!-- Unused background info http://epocrates1-metrics.custhelp.com -->
           <td align=left colSpan=2> 
               <p>3)  What is your overall impression of Epocrates Essentials/Rx
Pro v7 for Palm/Mac in comparison to other applications you've used on the
Palm?</p> 
           </td> 
            <td align=center><input type="radio" name="_10227" value="1" ></td> 
            <td align=center><input type="radio" name="_10227" value="2" ></td> 
            <td align=center><input type="radio" name="_10227" value="3" ></td> 
            <td align=center><input type="radio" name="_10227" value="4" ></td> 
            <td align=center><input type="radio" name="_10227" value="5" ></td> 
       </tr> 
    </table> 
<SCRIPT LANGUAGE="JavaScript1.1">
<!--
function validate_answers() 
{
   var a = new Array( "_10225","_10227" ); 
   var num = new Array( "1","3" ); 
   var checks = false; 

   for( var i = 0; i < a.length; i++ ) 
   {
      checks = false; 
      var afld = eval( "document.surveyform." + a[i] );

      if ( afld.type == "textarea" || afld.type == "text" ) 
      {
          if ( !afld.value ) 
          {
             alert( "You must answer question #" + num[i] );
             return( false );
          }
      }
      else if (afld.type == "select-one")
      {
          if (afld.selectedIndex <= 0)
          {
             alert( "You must answer question #" + num[i] );
             afld.focus();
             return( false );
          }
          return ( true );
      }
      else
      {
          for ( var j = 0; j < afld.length; j++ ) 
          {
             if ( afld[j].checked == "1" ) 
             {
                checks = true; 
             }
          }

          if ( checks != true ) 
          {
             alert( "You must answer question #" + num[i] );
             return( false );
          }
      }
   }
   return( true );
}


//-->
</SCRIPT>
<INPUT TYPE=hidden NAME="_233" VALUE="0">
<SCRIPT LANGUAGE="JavaScript1.1">
<!--
function setCookie(name, value, expire) {
document.cookie = name + "=" + escape(value) + ((expire == null) ? "" : (";
expires=" + expire.toGMTString())) + "; path=/";
}

function setAnswered()
{
    var today = new Date();
    var expires = new Date();
    expires.setTime( today.getTime() + 1000*60*60*24*10 );
    setCookie( 'Mac%20Ess%20Final%20v2_28_43351', '1', expires );
}
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.1">
<!--
function online_submit() 
{
   var submit = false;
   if ( validate_answers() ) 
   {
      setAnswered(); 
      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="button" name="B3"  value="Cancel" class="btn"
onClick="window.close()"></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> 
<br><img
src=http://epocrates1-metrics.custhelp.com/rnt/rnm/img/powered_metrics1.gif>
</body>
</html>


Expected Results:  
Rendered the page
You really didn't need to put all the source code in the bug when anyone can go
and see it....

The page is served as text/plain, so we treat it as plain text.

Not a browser bug.  The server admin needs to correct the mime settings.
->TE
Assignee: firefox → english-us
Status: UNCONFIRMED → NEW
Component: General → English US
Ever confirmed: true
OS: MacOS X → All
Priority: -- → P3
Product: Firefox → Tech Evangelism
QA Contact: firefox.general → english-us
Hardware: Macintosh → All
Summary: Page loads but the only thing I see is the Source Code. Does not render in Firefox. Renders fine in IE 5.2 for MAC → custhelp.com - HTML served as text/plain
Oops, this is a dup.

*** This bug has been marked as a duplicate of 265365 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.