Bug 15966

Summary: openfontlibrary serves files with partial extensions
Product: openfontlibrary Reporter: Patryk Zawadzki <patrys>
Component: websiteAssignee: Jon Phillips <jon>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.