Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multimedia: url friendly file names #291

Closed
stefanorosanelli opened this issue Sep 5, 2012 · 3 comments
Closed

multimedia: url friendly file names #291

stefanorosanelli opened this issue Sep 5, 2012 · 3 comments

Comments

@stefanorosanelli
Copy link
Member

having file names with spaces and diacritics may be problematic: bad urls if published or used in scripts

when uploading files: change file names on file system forcing "url friendly" file names with same algorithm used for object unique names (nickname).

@ghost ghost assigned didoda Sep 5, 2012
@didoda
Copy link
Member

didoda commented Sep 5, 2012

b172894 I released a patch that forces "friendly file name" when uploading a file.
Still todo: saving original name. Adding a new field to 'streams' table? using 'contents.subject' field [still unused]?

@didoda
Copy link
Member

didoda commented Sep 5, 2012

fcad3cc title (if not indicated) is the original file name ($data['original_name']).
If we add 'original_name' field to stream table, original file name should already be saved (I didn't add myslef, because we are still thinking about a solution on 'where save original file name?')

@didoda
Copy link
Member

didoda commented Sep 5, 2012

6cc59f6 added field original_name to streams table

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants