[Fedora Infrastructure] #4005: pkgs.fedoraproject.org content encoding misconfiguration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



#4005: pkgs.fedoraproject.org content encoding misconfiguration
--------------------------+-----------------------------------------
  Reporter:  dsheets      |      Owner:  webmaster
      Type:  bug          |     Status:  new
  Priority:  minor        |  Milestone:  HANDWAVY-FUTURE
 Component:  Web Content  |    Version:  Production
  Severity:  Normal       |   Keywords:  encoding apache gzip conneg
Blocked By:               |   Blocking:
 Sensitive:  0            |
--------------------------+-----------------------------------------
 = bug description =

 $ curl --verbose --write-out
 %{http_code}\\n%{content_type}\\n%{filename_effective}\\n --insecure
 --retry 10 --retry-delay 2 --compressed -JOL
 http://pkgs.fedoraproject.org/repo/pkgs/ocaml-
 ulex/ulex-1.1.tar.gz/ce49a013bc4a0e085977a9fe157017bf/ulex-1.1.tar.gz

 says

 *snip*
 < Content-Type: application/x-gzip
 < Content-Encoding: x-gzip
 *snip*

 but

 $ file ulex-1.1.tar.gz
 ulex-1.1.tar.gz: POSIX tar archive (GNU)

 = bug analysis =

 This causes scripted downloads to fail. Particularly, the OCaml Package
 Manager, OPAM, uses <https://github.com/OCamlPro/opam-
 repository/blob/master/packages/ulex.1.1/url> this URL and fails to gunzip
 the tar.

 = fix recommendation =

 Edit the Apache config which probably contains an AddEncoding directive on
 files that match *.gz or something similar. This is not necessary and
 confuses clients (browsers do frightening and terrible sniffing that
 scripts shouldn't have to).

-- 
Ticket URL: <https://fedorahosted.org/fedora-infrastructure/ticket/4005>
Fedora Infrastructure <http://fedoraproject.org/wiki/Infrastructure>
Fedora Infrastructure Project for Bugs, feature requests and access to our source code.
-- 
websites mailing list
websites@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/websites





[Index of Archives]     [Fedora Users]     [Linux ARM]     [ARM Kernel]     [Older Fedora Users]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux