Need absolute url generation
| Project: | Go - url redirects |
| Version: | HEAD |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
in some RSS readers, relative urls are not translated to right form. it is very unusefull for blogerrs to have a relative urls in theirs posts. So I need Gotwo to generate an absolute urls instead of relative one.
I prefer to have an control checkbox in admin panel (/admin/settings/gotwo) and a way to control generation absolute or relative url in <go> tag. For example:
<go href="http://example.com" link="absolute">My Example Link</go> will generate an absolute link <a href="http://mysite.com/go/my_example_link">My Example Link</a> independently of settings in /admin/settings/gotwo.
Also, I want to have the same way to control alias generation:
My Example Link will generate an absolute link <a href="http://mysite.com/go/example">My Example Link</a> independently of settings in /admin/settings/gotwo.
Dear BioALIEN, I am a prorammer and can help you to develope this feature. Can I send you a patch? And also, please, tell me, does my requested features has already requested and is my requested features already implemented in 6.x-1.0 version of you gotwo module?
Thank you for your module and for your time and please answer me. :)

#1
sorry, I have a little error in my post.
Please read:
Also, I want to have the same way to control alias generation:
<go href="http://example.com" link="absolute" alias="example">My Example Link</go>will generate an absolute link
<a href="http://mysite.com/go/example">My Example Link</a>independently of settings in/admin/settings/gotwo.#2
Hi Andy,
I somewhat understand your concern about relative vs absolute URLs. You can submit a patch for review and if it's good we will commit it to the 6.x module branch.
Thank you for the kind words, of course this goes out to all the past and present contributors and maintainers too :)
#3
If there is no patch within the next 3 months we close this case without further information.
#4
Only as a note. The
alias="example"should still work withtitle. It doesn't give the the 100% control if you'd like to have other titles than the alias, but it works this way.#5
Should be easy to implement now since the SA patch has been committed.
#6
This gets a won't fix for the reason that this is a core / rss reader bug. With absolute URLs you would get browser security warnings on SSL sites.
Duplicate of #553262: Make getAbsoluteURL() standard compliant.