Displaying 3 results from an estimated 3 matches for "skip_relative_url_root".
2007 Dec 20
0
Relative URL fix
...acebook app yet as Facebooker is written
presently "sessions_path" will produce "facebook_app/sessions/" even
if the sessions controller doesn''t call any of the facebooker
before_filters.
Part of the reason for this is that the url_writing methods add the
key :skip_relative_url_root to the options hash for the url_rewrite
method. It is assigned a boolean value and passed along to the
ActionController::UrlRewriter#rewrite_url method.
Unfortunately, rewrite_url cares about the existence of the key not
only its'' value.
def rewrite_url(path, options)
url = old_...
2006 Mar 01
3
Security issue: a user can fill cache with random urls
Say your app responds to : store/show/3 and caching is enable at the
store controller level.
A route says : map.connect ''store/:action/:id'', :controller => ''store''
All the following urls will be processed and cached (the cache
filling with ''page not found'' messages) !
store/foo/bar
store/show/090934298234897342
2008 Jan 25
8
simple routing & linking question
So I have an existing app & facebook app in same rails application,
for now I have decided to go the route of creating a controller for
facebook stuff (called FaceController).
(setup is canvas, fbml)
So I have:
facebook config
http://myurl:myport/face/
My controllers name is face, so I dont even need a manual route, for
the landing page it works like a charm.
but, when I try to make