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

weird stripping in request data (http://google.com -> http:/google.com) #26

Closed
mutaku opened this issue Apr 27, 2011 · 1 comment
Closed

Comments

@mutaku
Copy link
Owner

mutaku commented Apr 27, 2011

urls that are encoded get passed to /ur/encoded_url
the encoded_url always yeilds:
http://google.com -> http:/google.com

// -> / for some reason.
admin interface submission is fine (right to model) something is just off with lighttpd+request parsing !?

djang-user google group link: http://groups.google.com/group/django-users/browse_thread/thread/76919b39159b66db

could manually look for this and adjust but that's kinda meh and doesn't solve the issue:

stump_split = list(this_stump.partition(":")) if stump_split[1] and not stump_split[2].startswith("//"): stump_split[2] = "/"+stump_split[2] this_stump = ''.join(stump_split)

@mutaku
Copy link
Owner Author

mutaku commented May 2, 2011

The fix isn't best (as listed above) but works. Will close for now.

@mutaku mutaku closed this as completed May 2, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant