<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>169523</bug_id>
          
          <creation_ts>2008-08-21 10:03:51 +0000</creation_ts>
          <short_desc>site displays completely wrong (konq3, firefox, etc work fine)</short_desc>
          <delta_ts>2008-08-22 16:49:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konqueror</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Mihai RUSU">dizzy</reporter>
          <assigned_to name="Konqueror Bugs">konqueror-bugs-null</assigned_to>
          <cc>andresbajotierra</cc>
    
    <cc>maksim</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>639656</commentid>
    <comment_count>0</comment_count>
    <who name="Mihai RUSU">dizzy</who>
    <bug_when>2008-08-21 10:03:51 +0000</bug_when>
    <thetext>Version:           4.1.00 (using KDE 4.1.0)
Compiler:          gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.1) 
OS:                Linux
Installed from:    Gentoo Packages

Hello

I have just noticed that a site I often use &quot;www.monosit.ro&quot; has changed the design and does not display correctly on konqueror4. If I try to display it with firefox3 or konqueror3 it looks fine. I asked some people on freenode/#kde to confirm this and they also confirmed the same behavior.

Please help, thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>639717</commentid>
    <comment_count>1</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2008-08-21 14:06:35 +0000</bug_when>
    <thetext>Using KDE 4.1.1 (KDE 4.1.0 (4.1 &gt;= 20080722)) (KDEmod) in ArchLinux i686:
I can confirm this. Seems like the CSS isn&apos;t loaded.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>639748</commentid>
    <comment_count>2</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2008-08-21 16:59:12 +0000</bug_when>
    <thetext>For some reason we get mimetype as &quot;:&quot;, which isn&apos;t a valid stylesheet mimetype
and hence gets it ignored in strict mode. The server doesn&apos;t send anything (bad server!)
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>639750</commentid>
    <comment_count>3</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2008-08-21 17:00:54 +0000</bug_when>
    <thetext>Oh, actually is does:
Content-Type: :
so KIO is right here. Now I need to figure out whether other browsers 
are parsing this differently (hmm, may be via XHR?), or if something can override the mimetype check...


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>639772</commentid>
    <comment_count>4</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2008-08-21 18:49:07 +0000</bug_when>
    <thetext>http://lists.kde.org/?l=kde-commits&amp;m=121933684323332&amp;w=2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>639882</commentid>
    <comment_count>5</comment_count>
    <who name="Mihai RUSU">dizzy</who>
    <bug_when>2008-08-22 09:03:21 +0000</bug_when>
    <thetext>Thanks for the workaround. So you are saying that tho the css files are php documents (so their contents is probably dynamically generated) they should still come with Content-Type: text/css right? I suppose they need to use header() PHP function or something similar :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>639976</commentid>
    <comment_count>6</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2008-08-22 16:49:22 +0000</bug_when>
    <thetext>You&apos;re welcome. 

And yes, stylesheets served to web pages in strict mode have to have the mimetype text/css, or no mimetype at all. Thing is, the server actually sends a malformed content-type header altogether.

That it&apos;s PHP on the server end doesn&apos;t matter, since content-type describes the type of the data we get / how we should handle it --- it makes no difference to the displaying application if it was hand-coded or generated by PHP or Perl or Rails, or ASP or whatever.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>