Closed danielatdattrixdotcom closed 8 years ago
Can one of the admins verify this patch?
I like it, looks good to me!
@danielatdattrixdotcom I had to do a quick revert in master, because we both forgot about the scheme prefix for the URL - it will convert http://somewhere.com to http:/somewhere.com - I'll revisit this soon, probably the better solution will involve a little more use of urlparse.
@svanoort I revised my work and re-created the branch. Can you move this backwards from merged, or do I need to create another?
@danielatdattrixdotcom Github doesn't really support un-merge / re-merge, unfortunately. I recently had to comment on a (mistakenly marked as merged) PR "This is not actually merged. Go home Github, you're drunk." :laughing:
So, I'm afraid we'll have to create a new PR for the fixed version.
When extracting resource URIs and using them via extraction and tempting an extra leading slash would be added. Also ensures a trailing slash in the URL is retained.