Download & Extend

Link token doesn't work if using leading slash for path after &token&

Project:Advanced help
Version:6.x-1.x-dev
Component:Documentation
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

If I use <a href="&base_url&/path#anchor"> the parsed link is http://path#anchor.

Comments

#1

Title:Link token doesn't work if using anchor inside link» Link token doesn't work if using leading slash for path after &token&
Component:Code» Documentation
Category:bug report» task

The problem above had another reason:
If i write <a href="&base_url&/path#anchor"> the link don't work, instead it must be <a href="&base_url&path#anchor"> (without the slash).

This should be mentioned in using-advanced-help.html.

#2

The way I see it, the existing wording and examples in using-advanced-help.html make it clear that no slash should be used, ditto:

Use <a href="&base_url&admin/settings/site-configuration"> to reference any normal path in the site.

It doesn't say:

Use <a href="&base_url&/admin/settings/site-configuration"> to reference any normal path in the site.

Do you have an even clearer wording suggestion that wouldn't add extra doubt to readers ?

#3

Status:active» postponed (maintainer needs more info)

#4

Status:postponed (maintainer needs more info)» fixed

No user answer in over 5 months, assuming fixed.

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here