Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
asset library system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 May 2014 at 09:39 UTC
Updated:
12 Nov 2014 at 09:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
webflo commentedMaybe we should fix file_create_url() because this problem is not unique to CSS aggregation.
Comment #2
webflo commentedComment #3
webflo commentedComment #4
webflo commentedComment #5
martin107 commentedComment #6
dcam commentedUpdating in preparation for DrupalCon Austin sprints. See http://www.hook42.com/blog/prepping-drupalcon-austin-sprints-sprint-lead....
Comment #7
selfuntitled commentedI'm at Drupalcon Austin sprint, I'll try writing a test for this.
Comment #8
selfuntitled commentedWell, didn't get to a test written, but ended up fixing documentation on simpletest. This issue is available if anyone else is interested.
Comment #9
Snipon commentedGood going! This one really bugs me. Especially while dealing with SVG fonts.
I altered the patch a little and added support for fragments and query strings without values (might happen).
Comment #11
kallehauge commentedThis is the exact same code as @Snipon in #9 but for beta1. Due to changes in the files, the line numbers are changed.
Comment #12
rpayanmComment #14
webflo commentedLooks like a random failure.
Comment #17
nlisgo commentedI've removed the added support for fragments or query strings with empty values as is out of scope and breaks tests. I would suggest that it should be raised as a separate issue if you feel strongly about it.
Can anyone prepare some test cases? Even if you can't write the tests themselves there is a task for someone to prepare some useful test cases.
Comment #18
webflo commentedExtended the UrlRewritingTest. The first patch should show the failures.
Comment #19
webflo commentedComment #21
kallehauge commentedI've just tested this patch for safety on the latest dev branch and it works. The code looks like it follows Drupals code standard and after @nlisgo "removed support for fragments or query strings with empty values", the patch also follows the scope of the issue.
I will set the status of this ticket as "tested and reviewed by the community"
Comment #22
kallehauge commentedComment #23
alexpottIs the strpos really necessary? Looking at UrlHelper::parse() i don't think so.
Comment #24
lauriiiComment #25
webflo commentedThank you. This looks cleaner than the previous patch.
Comment #26
alexpottCommitted 585e025 and pushed to 8.0.x. Thanks!