Bug 21975 - univention-showload liefert falschen Mime-Type
univention-showload liefert falschen Mime-Type
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 2.4
All Linux
: P5 minor (vote)
: UCS 3.0-2
Assigned To: Philipp Hahn
Andreas Büsching
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-24 11:21 CET by Philipp Hahn
Modified: 2012-07-20 15:25 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:
hahn: Patch_Available+


Attachments
Fix mime type and do cleanup (5.15 KB, patch)
2011-03-24 11:21 CET, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2011-03-24 11:21:03 CET
Created attachment 3137 [details]
Fix mime type and do cleanup

$ curl -i http://xen13/cgi-bin/univention-showload.cgi
HTTP/1.1 200 OK
Date: Thu, 24 Mar 2011 11:12:41 GMT
Server: Apache/2.2.9 (Univention) PHP/5.2.6-1.150.201012221103 with
Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g
Vary: Accept-Encoding
Transfer-Encoding: chunke
Content-Type: text/html
              ^^^^^^^^^

LOAD:60
^^^^^^^

Das ist kein text/html, sondern text/plain.
Und wo wir gerade dabei sind noch ein paar Aufräumarbeiten.
Comment 1 Philipp Hahn univentionstaff 2012-04-17 09:17:07 CEST
Für UCS-3.0 wurden debian/rules bereits auf dh umgestellt und etliche überflüssige Dateien entfernt. Von daher wurde hier nur das Skript vereinfacht und das Copyright aktualisiert.

svn32178, univention-showload_5.0.1-1.24.201204170912
ChangeLog:
\item The mime-type of \ucsUrl{http://localhost/cgi-bin/univention-showload.cgi} was changed to text/plain (\ucsBug{21975}).
Comment 2 Andreas Büsching univentionstaff 2012-06-21 13:50:16 CEST
Ist jetzt korrekt

root@server:~# curl -i http://localhost/cgi-bin/univention-showload.cgi
HTTP/1.1 200 OK
Date: Thu, 21 Jun 2012 11:48:54 GMT
Server: Apache/2.2.16 (Univention)
Vary: Accept-Encoding
Content-Length: 8
Content-Type: text/plain


ChangeLog-Eintrag vorhanden
Comment 3 Stefan Gohmann univentionstaff 2012-07-20 15:25:06 CEST
UCS 3.0-2 has been released: 
  http://forum.univention.de/viewtopic.php?f=54&t=1905

If this error occurs again, please use "Clone This Bug".