Relative links do not work properly, at least if you have enabled path-prefixed languages which creates links like "/drupal/en/content/mypage" where "en" is the path-prefix for the English language.

A relative link like "content/myotherpage" will then be appended to "/drupal/en", resulting in the broken link "/drupal/encontentmyotherpage".

I found the problem to be the line
$textile->hu = url(NULL);
in the textile.module file.
When I replaced this with
$textile->hu = url('./');
then everything worked as expected.

Comments

Anonymous’s picture

Title: Relative links do not work properly » Relative links do not work properly when language path prefixes are enabled
Status: Active » Fixed

Strangely, url(NULL) on my test site returns "/dr72/" when language path prefixes are not enabled, and "dr72/it" when they are enabled.
I changed the code to check if the value returned by url() ends with a slash, and add it when it doesn't exist. I created a new official release too.

Thank you for your report.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

Corrected spelling.