Skip to content

updated clean_url function to properly remove "www" from the url#614

Open
kellemar wants to merge 1 commit intorendercv:mainfrom
kellemar:update-clean-url-follow-docstring
Open

updated clean_url function to properly remove "www" from the url#614
kellemar wants to merge 1 commit intorendercv:mainfrom
kellemar:update-clean-url-follow-docstring

Conversation

@kellemar
Copy link
Contributor

clean_url() docstring said it strips www. from urls, but the implementation didn't actually do that.

Added the missing .replace("www.", "") call so the function matches what it claims to do.

Updated the test expectation too since it was checking for the old broken behavior.

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.

1 participant