Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL generated use the wrong port #12

Open
ignatiusreza opened this issue Mar 4, 2014 · 1 comment
Open

URL generated use the wrong port #12

ignatiusreza opened this issue Mar 4, 2014 · 1 comment

Comments

@ignatiusreza
Copy link

Rails application is thinking that the request is done to whichever port passenger is running, hence, request.url (both on Rack::Request & ActionDispatch::Request) & url_for only_path: false will use this port in generated url (e.g : http://example.com:4000/path)

The generated url should use the original port.

@tomchentw
Copy link

Having the same issue here 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants