Because only some characters are allowed in file names. Perhaps the rules 
should be somewhat relaxed for static files?

On Wednesday, 7 August 2013 21:45:55 UTC-5, Rob_McC wrote:
>
>
> I occasionally upload a file through admin panel,
>
> i.e.
>  http://example.com/admin/default/design/welcome
>
>
>
> I noticed when uploading to:
>
> static/css
>
> that *- *or transformed to *_*
> *(dashes are changed to underscore)
> *
> Example:
>
> I upload to static/css
>
> css/my-file11.css
>
> but once uploaded it is changed to:  (note underscore)
> css/my_file11.css
>
> Not sure why this happens.
>
> Rob
> web2py version
> 2.5.1-stable+timestamp.2013.06.06.15.39.19
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to