On Wednesday, December 11, 2013 10:37:34 AM UTC, joshukraine wrote:
>
>
> *Thus my question: how can I get Safari to clear the flash after the first 
> request?*
>
> I'm aware of the whole "flash vs. flash.now" issue when rendering pages. 
> But even then, the flash will disappear if you simply refresh. I actually 
> tried flash.now in this case, but then the flash isn't displayed at all in 
> any browser.
>
> Since this appears to be a browser-specific problem, here are some further 
> stats on my system:
>
>    - Mac OS X 10.9
>    - Safari 7.0
>    - Rails 3.2.16
>
> One final observation. After playing around with this issue in Safari, I 
> noticed that if I clicked my bookmark for http://localhost:3000/, that 
> would clear the flash. Of course, all the navigation links in my site 
> layout contain relative paths, whereas the bookmark is calling a full url.
>  
>
Anyway, hope that made sense. Thanks in advance for your help!
>

Could this be a caching problem? Does the network inspector show fresh 
requests being made to your app?

Unrelated, but I think you have an XSS bug - if i link to your search page 
with the search parameter set to 99999999<script>...</script> then I'm 
pretty sure that js will get executed (the 99999 is to that to_i returns 
non zero)

Fred

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/e83c5dbd-54d9-4fe1-85ce-c4d343d2b935%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to