Bug 15966 - openfontlibrary serves files with partial extensions
Summary: openfontlibrary serves files with partial extensions
Status: RESOLVED WONTFIX
Alias: None
Product: openfontlibrary
Classification: Unclassified
Component: website (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Jon Phillips
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-16 13:30 UTC by Patryk Zawadzki
Modified: 2011-02-14 06:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Patryk Zawadzki 2008-05-16 13:30:34 UTC
Steps to reproduce:

1. Pick a font available as a classic tarball
2. Select download

Expected behavior:

3. You end up with font_name.tar.gz or font_name.tgz

Actual behavior:

3. You end up with file_name.gz

Problems:

While it's fine to name files using whatever convention you like as UNIX does not have the concept of extensions, this makes it very hard to package fonts for distributions. If download locations contain proper extensions, we can just point our building tools to the correct URL and let them unpack the files. With partial extensions we need to fetch, rename manually and upload to a different site then point the tools to that new URL.

I think the simplest solution would be to only allow raw previews (jpg, png) files (and gzip them) and tarballs (tar+gzip) instead of allowing any file type to be uploaded.
Comment 1 Jon Phillips 2011-02-14 06:38:39 UTC
moving to aiki will solve.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.