URL path mapping of CSS resources missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sloecode |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When deploying Sloecode under a *different* URL path than the default (using WSGI, e. g. with Apache's mod_wsgi), Sloecode does not adapt the paths to resources in CSS files. So, if Sloecode is served under http://
"Normal" HTML template files use the "h.url(...)" URL rewriting notation to adapt to the URL base correctly, but in CSS files the different CSS specific notation "url(...)" (not using the preceding "h.") does not do so. Therefore, any resources referenced from CSS files cannot be found. This includes referencing further included CSS files, as well as e. g. images (decorations, icons, etc.).
Some of these resources suffering from not being referenced properly are these:
/wrench-pencil.png
/images/
/sc/help/
Related branches
Changed in sloecode: | |
status: | New → Confirmed |
milestone: | none → 1.1 |
Changed in sloecode: | |
assignee: | nobody → Thomi Richards (thomir) |
status: | Confirmed → Fix Committed |
Changed in sloecode: | |
status: | Fix Committed → Fix Released |