Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
We noticed duplicate slash in fontawesome URL coming from shariff module like http://localhost/libraries/shariff//fontawesome-webfont.woff2
This is happening because `shariff.complete.css` is loaded with a duplicate slash like http://localhost/libraries/shariff//shariff.complete.css?q5mqex
Our project path for shariff CSS is web/libraries/shariff/shariff.complete.css
Comment | File | Size | Author |
---|---|---|---|
#2 | duplicate-slash-3113317-2.patch | 651 bytes | pivica |
Comments
Comment #2
pivica CreditAttribution: pivica at MD Systems GmbH commentedHere is a patch that fixes this. I've also added
break;
if file exist, no need to check the rest of the subfolders.Comment #3
crizMakes sense. Thank you.
Comment #5
criz