Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. The software first checks redirect.hostname.domainname.com for a TXT record, since technically, CNAME records may not have sibling resources. Using the TXT record on the same hostname as a CNAME was causing problems on one known DNS provider (Amazon Route 53). 2. The path is only appended if the location contains two slashes. Previously the path was always being appended, such that: Given the location "http://foo.com/xyz", if the user went to "http://abc.com/123", the target would be "http://foo.com/xyz123". The location field should now be used as following: location=http://google.com -- if you want domfo to append the path automatically location=http://google.com/xyz -- if you want to hardcode a certain path location=http://google.com/ -- if you want to hardcode /
- Loading branch information