Ticket #402 (fixed enhancement)
Handle relative links in url tags
- Created: 2011-04-16 13:20:37
- Reported by: Reines
- Assigned to: Franz
- Milestone: 1.4.6
- Component: parser
- Priority: normal
If no protocol is provided then prepend the current path instead of just http://
History
Franz 2011-04-21 07:46:26
Another possibility would be to only convert "URLs" with trailing slashes to a relative URL, so that something like
/viewforum.php?id=9
would become
http://fluxbb.org/forums/viewforum.php?id=9
on this server, for example.
Reines 2011-04-21 09:39:00
Do you mean leading rather than trailing?
That might be a good idea, though to be honest I'm not incredibly fussed either way.
I was considering using the current URL, but that would then be messy if you have the posts displaying in different places - like we do on the homepage. So yes, probably use the base URL (using get_base_url(true) so it supports https).

