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

Don't rewrite in a stupid way #833

Merged
merged 1 commit into from
Jul 3, 2012
Merged

Conversation

MarkTraceur
Copy link
Contributor

This patch fixes reverse-proxy setups where URL rewrites (i.e., 302 responses) may be happening due to invalid characters (':' and ' ') in the pad name.

Since we're already in the proper path for the pad, why worry
about it? Replacing the entire path of the URL with /p/padname may
have seemed like a good idea at the time, but really, for a 302 we
only need a relative pathname. This patch provides the proper way.
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

Successfully merging this pull request may close these issues.

2 participants