Contrary to what's said in the comment (compare with the internal and path alias), the internal path appears twice.

          // Compare with the internal and path alias (if any).
          $page_match = preg_match($regexp, $real_path);
          if ($path != $real_path) {
            $page_match = $page_match || preg_match($regexp, $real_path);
          }

Here is the correct code:

          // Compare with the internal and path alias (if any).
          $page_match = preg_match($regexp, $alias);
          if ($path != $real_path) {
            $page_match = $page_match || preg_match($regexp, $real_path);
          }
CommentFileSizeAuthor
#3 multidomain-aliasfix.txt991 byteswayland76

Comments

druvision’s picture

Description of the correction done: I've replaced $real_path with $alias in line 333

druvision’s picture

Title: URL aliases is now treated correctly » URL aliases are now treated correctly
wayland76’s picture

StatusFileSize
new991 bytes

That's not a patch. This is a patch.

betz’s picture

Status: Reviewed & tested by the community » Fixed

Patch committed to the development snapshot.

Status: Fixed » Closed (fixed)

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