On Dec 1, 2010, at 12:25 PM, Ralph Shnelvar wrote:
>> OMG. Do you actually have spaces in your image file names?
>>
>> --
>> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
>> twitter: @hassan
>
> Yes ... why not?
>
> I have not had any troubles with spaces in file names on my Windows
> development environment, Linux static web page environment, or Linux
> RoR
> environment.
>
> What's the issue?
The issue isn't really the filenames directly, but that URLs cannot
contain spaces. Depending on where the space occurs, it should be
encoded either as %20 (in the path portion) or as + (in the query-
string portion). In my experience, even using + rather than %20 in
path components (such as your filename) will work properly even though
it might not be strictly correct per some RFC.
-Rob
Rob Biedenharn
Rob@AgileConsultingLLC.com http://AgileConsultingLLC.com/
rab@GaslightSoftware.com http://GaslightSoftware.com/
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment