Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
filter.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2015 at 08:54 UTC
Updated:
15 Sep 2015 at 15:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
berdirThe only issue that I can find that could have caused this is #1657886: Filter "Convert URLs into links" doesn't support multilingual web addresses.
Comment #3
sasanikolic commentedThis should make the test fail.
Comment #5
tim.plunkettYep, @Berdir found the right issue.
Comment #6
berdirObvious fix is obvious but I think we need the same change for the ending chars too? Just add two more lines with tesT and TesT and it will not work as expected.
Comment #7
berdirComment #8
sasanikolic commentedExtended the test and added the condition for urls ending with capital letters.
Comment #9
berdirGreat, RTBC if green.
Comment #10
wim leersWow, how was this problem not discovered sooner!? This definitely needs a backport to D7 — this code is virtually unchanged from that in D7.
Comment #11
berdirAs written, this is a regression, it works fine in 7.x, as visible in the issue summary :)
There was exactly one change in that function since 7.x and that broke it, see #2.
However, this fix needs to be included in the backport of that issue.
Comment #12
wim leersOh, sorry :(
Comment #13
alexpottThese are out of scope changes. Since we are testing filters I'm loathed to change this without considering whether or not we are losing text coverage - since you are changing both the input and output.
Comment #14
tim.plunkettFair point.
Comment #15
LKS90 commentedUnrelated changes have been reverted, the patch still applies and passes the tests. RTBC!
Comment #16
alexpottThanks for addressing #13. Committed a3ccfba and pushed to 8.0.x. Thanks!