The documentation link filed has correct information but the project module inserts /project in path

http://drupal.org/project/location
Documentation link should go to http://drupal.org/handbook/modules/location and is correct in the edit screen handbook/modules/location. When clicked it goes to http://drupal.org/project/handbook/modules/location

Comments

dww’s picture

Priority: Critical » Normal
Status: Active » Closed (works as designed)

i don't see a bug. if i go to the location module's project node, the "Read documentation" link works just fine. i notice greggles recently edited the node, perhaps he fixed the link.

note: project.module just takes whatever you put there and sticks it directly into a <a href="%s">.... so, if you used "handbook/modules/location" you get drupal's weird URL handling mojo and you'd get the bad url you mentioned. if you use "/handbook/modules/location" then it works... of course, if you use "http://foo.bar.net/location/docs" that also works (which wouldn't be the case if we used one of drupal's link generating methods like url() or l()).