You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are just upgrading from rack-rewrite 0.2.1 to 1.0.2 and we noticed that named anchors are not getting included in the redirect path.
For example if you try to redirect the url "/Test?q=cool#notcool" with a regex or other means the resultant redirect path will not include the #notcool on the end.
It looks like this is because your using env['REQUEST_URI'] in line 74 or rule.rb 0.2.1 and env['PATH_INFO'] + "?" + env['QUERY_STRING'] in line 159 1.0.2.
Is it an intentional change? or just a mistake?
Thanks
The text was updated successfully, but these errors were encountered:
Hey,
We are just upgrading from rack-rewrite 0.2.1 to 1.0.2 and we noticed that named anchors are not getting included in the redirect path.
For example if you try to redirect the url "/Test?q=cool#notcool" with a regex or other means the resultant redirect path will not include the #notcool on the end.
It looks like this is because your using env['REQUEST_URI'] in line 74 or rule.rb 0.2.1 and env['PATH_INFO'] + "?" + env['QUERY_STRING'] in line 159 1.0.2.
Is it an intentional change? or just a mistake?
Thanks
The text was updated successfully, but these errors were encountered: