Skip to content

Conversation

@jsurloppe
Copy link
Contributor

simplify_regex return an url with a leading slash which is interpreted as a root path by urlparse;

>>> urlparse.urljoin("http://localhost:8000/api/", "/foo/")
'http://localhost:8000/foo/'

leads to SchemaGenerator returning a wrong link.

@lovelydinosaur lovelydinosaur added this to the 3.4.2 Release milestone Jul 29, 2016
@lovelydinosaur
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants