Skip to content
Snippets Groups Projects
Commit b0a4ad29 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#194743 report by Murz, patch by myself: in domain language negotiation mode,...

#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()
parent f77b60f2
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -111,7 +111,7 @@ function language_url_rewrite(&$path, &$options) { ...@@ -111,7 +111,7 @@ function language_url_rewrite(&$path, &$options) {
case LANGUAGE_NEGOTIATION_DOMAIN: case LANGUAGE_NEGOTIATION_DOMAIN:
if ($path_language->domain) { if ($path_language->domain) {
$options['absolute'] = TRUE; $options['external'] = TRUE;
$path = $path_language->domain .'/'. $path; $path = $path_language->domain .'/'. $path;
} }
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment