does the redirect location match this regexp pattern?
Source Code
# File action_controller/test_process.rb, line 200 def redirect_url_match?( pattern ) return false if redirect_url.nil? p = Regexp.new(pattern) if pattern.class == String p = pattern if pattern.class == Regexp return false if p.nil? p.match(redirect_url) != nil end
<code/>and<pre/>for code samples.