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.
Per documentation on PHP site
and
http://stackoverflow.com/questions/9050917/php-ltrim-behavior-with-chara...
$css_paths[1] = parse_url(file_create_url($css_paths[0]));
$css_paths[1] = ltrim($css_paths[1]['path'], $GLOBALS['base_path']);
$js_paths[1] = parse_url(file_create_url($js_paths[0]));
$js_paths[1] = ltrim($js_paths[1]['path'], $GLOBALS['base_path']);
if my base_path have the char list s and t
the end result of $css_path and $js_path will be incorrect
e.g.
sites/default/files/advagg_css
become
ites/default/files/advagg_css
Comment | File | Size | Author |
---|---|---|---|
#3 | advagg-2073489-3-fix-ltrim.patch | 4.65 KB | mikeytown2 |
#2 | advagg.module.patch | 1.19 KB | ckpoon |
Comments
Comment #1
ckpoon CreditAttribution: ckpoon commentedComment #2
ckpoon CreditAttribution: ckpoon commentedComment #3
mikeytown2 CreditAttribution: mikeytown2 commentedFollowing patch has been committed. Thanks for your help :)