From b0a4ad29da58b1904cc271f794eb72e72215e4c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= <gabor@hojtsy.hu>
Date: Tue, 27 Nov 2007 12:32:13 +0000
Subject: [PATCH] #194743 report by Murz, patch by myself: in domain language
 negotiation mode, we should tell url() that we built an external URL, not
 that we need an absolute URL built by url()

---
 includes/language.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/language.inc b/includes/language.inc
index 9618e14023d2..103b59d26989 100644
--- a/includes/language.inc
+++ b/includes/language.inc
@@ -111,7 +111,7 @@ function language_url_rewrite(&$path, &$options) {
 
       case LANGUAGE_NEGOTIATION_DOMAIN:
         if ($path_language->domain) {
-          $options['absolute'] = TRUE;
+          $options['external'] = TRUE;
           $path = $path_language->domain .'/'. $path;
         }
         break;
-- 
GitLab