Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
language system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 May 2009 at 14:23 UTC
Updated:
25 May 2015 at 12:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jose reyero commentedThis is Drupal core.
Comment #2
gábor hojtsyIt should also validate for it IMHO.
Comment #3
jhedstromWell, this no longer is allowed, but the following exception is thrown when adding a trailing slash:
Comment #4
jhedstromThis fixes the fatal error, and adds a mention of not using a trailing slash to the error message.
Comment #5
mmatsoo commentedComment #6
mmatsoo commentedTested patch and it worked as expected. Fatal error gone and text added to tell user not to use trailing slash.
Comment #7
alexpottLooks like we should have a test for this given
Recoverable fatal error: Object of class Drupal\Core\Language\Language could not be converted to string.Comment #8
jhedstromI'll write a test.
Comment #9
jhedstromThis adds a test to ensure the form properly detects invalid domains.
Comment #11
gábor hojtsyLooks good to me.
Comment #12
alexpottThis issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed c471f0f and pushed to 8.0.x. Thanks!
Comment #14
gábor hojtsy