Hassan Schroeder wrote:
> On Mon, May 31, 2010 at 7:16 AM, Hemant Bhargava <li...@ruby-forum.com> 
> wrote:
> 
>>>> Basically, if i open an txt file in firefox using "File > Open file"
>>>> then file is opening perfectly. But if i try to open a txt file from a
>>>> file link on a webpage "file:///path" it is not going anywhere?
> 
>> By this i mean that page is neither reloading nor going to a new tab.
>> Usually if you click on a link something happens from these two. But now
>> its not.
> 
> Dunno if it's a bug or a feature, but yeah, file URLs don't seem to work
> in FF (or Safari, for that matter). But if the link is hand-crafted 
> (which is
> what I tried), I don't see how it could be related to Rails, in any 
> case.

I have a dim memory that this is a feature, designed to prevent remote 
websites from tricking you into editing local files or reading them with 
JavaScript.  But I could be wrong.

> 
> FWIW,
> --
> Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
> twitter: @hassan

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
-- 
Posted via http://www.ruby-forum.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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to