Trident
Off Topic => Off Topic => Hard-/Soft- und Nerdware => Thema gestartet von: Itchy am 04. Juni 2015, 10:24:07
-
Blaukool hat entdeckt, dass mit dem IE-Nachfolger manche Avatar im Forum nicht angezeigt werden. Deswegen brauche ich ExpertenTM-Hilfe.
Meiner funktioniert:
https://www.trident-online.de/smf/index.php?action=dlattach;attach=1373;type=avatar
Abyes funktioniert nicht:
https://www.trident-online.de/smf/index.php?action=dlattach;attach=980;type=avatar
HTTP Header, zuerst mein Avatar (markiert die relevanten Unterschiede):
Accept-Ranges: bytes
Cache-Control: max-age=31536000, private
Connection: close
Content-Disposition: inline; filename*=UTF-8''avatar_88.png
Content-Encoding: none
Content-Type: image/png
Date: Thu, 04 Jun 2015 07:17:26 GMT
Etag: "1373avatar_88.png1206833874"
Expires: Fri, 03 Jun 2016 07:17:26 GMT
Last-Modified: Sat, 29 Mar 2008 23:37:54 GMT
Server: Apache/2.4.10 (Debian)
Transfer-Encoding: chunked
X-Frame-Options: SAMEORIGIN
X-Powered-By: PHP/5.6.7-1
x-content-type-options: nosniff
x-xss-protection: 1
Und nun der von Abye:
Accept-Ranges: bytes
Cache-Control: no-cache
Connection: close
Content-Disposition: attachment; filename*=UTF-8''avatar_158.png
Content-Encoding: none
Content-Type: application/octet-stream
Date: Thu, 04 Jun 2015 07:20:10 GMT
Etag: "980avatar_158.png1192643551"
Expires: Fri, 03 Jun 2016 07:20:10 GMT
Last-Modified: Wed, 17 Oct 2007 17:52:31 GMT
Server: Apache/2.4.10 (Debian)
Transfer-Encoding: chunked
X-Frame-Options: SAMEORIGIN
X-Powered-By: PHP/5.6.7-1
x-content-type-options: nosniff
x-xss-protection: 1
Die Bilder im Filesystem sind wie folgt:
mail:/srv/www/www.trident-online.de/smf/attachments$ file avatar_88.png avatar_158.png
avatar_88.png: PNG image data, 80 x 80, 8-bit/color RGBA, non-interlaced
avatar_158.png: PNG image data, 80 x 80, 8-bit/color RGBA, non-interlaced
Sind also beides echte PNGs...
Ich bin ratlos, jemand eine Idee?
-
Ok, direkt nach dem Absenden die zündende Idee gehabt. Im Forum werden die MIME-Types zu den Attachments in einer Tabelle gespeichert. Die waren teilweise kaputt. Habs jetzt gefixt.
-
Kein Problem, schön dass wir dir helfen konnten!
-
Danke für deinen Post Ronie ;)
Funktionieren: Abye, Blaukool, B$, Ed, Itchy, Hurz, Skeltem
Funktioniert nicht: Ronnie Drew
-
Details Ronnie Drew:
http://www.trident-online.de/smf/index.php?action=dlattach;attach=1275;type=avatar
-
Details Blaukool:
http://www.trident-online.de/smf/index.php?action=dlattach;attach=1929;type=avatar
Der Empty-Body wird scheints von Project Spartan eingefügt...
-
Hab jetzt auch die kaputten GIF und JPEG gefixt. Beim ersten mal hab ich nur die PNGs gemacht. Sollten jetzt aber alle Bilder sein.
-
Sieht gut aus :)
-
Warum schreibt er denn den falschen content-type in die Tabelle ?
-
Das weiß ich nicht. Wahrscheinlich ein SMF Bug? Hab jetzt nicht extensiv danach gegoogled.