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

Conversation

Projects
None yet
2 participants
Contributor

cmsimike commented Feb 19, 2013

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 added a commit that referenced this pull request Feb 20, 2013

@tkaemming tkaemming Merge pull request #19 from cmsimike/master
When using REMOVE_WWW_FROM_DOMAIN to remove www from Site.domain, reversing URLs in templates fails
ca564ee

@tkaemming tkaemming merged commit 0a93c32 into tkaemming:master Feb 20, 2013

Owner

tkaemming commented Feb 20, 2013

Thanks, merged this in and published as 2.0.3.

Contributor

cmsimike commented Feb 20, 2013

Awesome, thank you!

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