Skip to content

When using REMOVE_WWW_FROM_DOMAIN to remove www from Site.domain, reversing URLs in templates fails #19

Merged
merged 1 commit into from Feb 20, 2013

2 participants

@cmsimike

Talked to you briefly on Twitter. Turns out that if you have www.example.com in the Site.domain table, reversing urls fails because it attaches the subdomain to Site.domain, leading to urls looking like subdomain.www.example.com

@cmsimike cmsimike Moved the logic to remove www from Site.domain into current_site_doma…
…in to fix issues reversing URLs when Site.domain has a www.
0a93c32
@tkaemming tkaemming merged commit 0a93c32 into tkaemming:master Feb 20, 2013
@tkaemming
Owner

Thanks, merged this in and published as 2.0.3.

@cmsimike

Awesome, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.