Hi,

I've tested the links package and I've noticed that it's not possible to add "local" relative links to a node. In other words, if one adds a "relative" link to a node, such as "node/add" (probabl wrong syntax, if relative to current URI) or "/node/add" or anything that's not a complete URL including the scheme, this is taken literally and a browser redirect to "node/add" is made. I think it would be more intuitive to add the relative link value to PHP_SELF, if the link value is relative. If the link value begins with a "/", add it to the HTTP_HOST. Does that make sense?

When looking at the code I've noticed that there is a 'class="outgoing"' assignment in links_get_list() and I am therefore assuming that you intended, at some point, to add relative "local" links to the module, using another class name for them.. Correct me if I'm wrong?

Or maybe I'm just missing something?

Thank you

Comments

telcontar’s picture

Status: Active » Closed (fixed)

I can't reproduce this on a clean install.