Actions
Defect #41734
openwrong url for assets in public/assets
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
The root url is https://domain/redmine
I get
https://domain/assets/jstoolbar/code-099ac2b5.svg
but it should be
https://domain/redmine/assets/jstoolbar/code-099ac2b5.svg
With my custom theme it's working:
#grep -R url\(\"/redmine/ public/assets/themes/zmt/application-e1a40028.css:@import url("/redmine/assets/application-f596000d.css"); public/assets/themes/zmt/application-e1a40028.css: background: #507AAA url("/redmine/themes/zmt/zmt.png") no-repeat 2px; public/assets/themes/zmt/application-e1a40028.css: background-image: url("/redmine/themes/zmt/images/zmt.png"); public/assets/themes/zmt/application-42af7287.css: background: #507AAA url("/redmine/themes/zmt/zmt.png") no-repeat 2px; public/assets/themes/zmt/application-42af7287.css: background-image: url("/redmine/themes/zmt/images/zmt.png"); public/assets/themes/zmt/application-66bf4852.css:@import url("/redmine/assets/application-f596000d.css"); public/assets/themes/zmt/application-66bf4852.css: background: #507AAA url("/redmine/themes/zmt/zmt.png") no-repeat 2px; public/assets/themes/zmt/responsive-1380294f.css:@import url("/redmine/assets/responsive-8ac0f530.css"); public/assets/themes/zmt/application-b5a77b1a.css: background: #507AAA url("/redmine/themes/zmt/zmt.png") no-repeat 2px; public/assets/themes/zmt/application-b5a77b1a.css: background-image: url("/redmine/themes/zmt/zmt.png"); public/assets/themes/zmt/application-1f7c1274.css:@import url("/redmine/assets/application-f596000d.css"); public/assets/themes/zmt/application-1f7c1274.css: background: #507AAA url("/redmine/themes/zmt/zmt.png") no-repeat 2px; public/assets/themes/zmt/application-1f7c1274.css: background-image: url("/redmine/assets/themes/zmt/zmt-951000c2.png");
grep -R url\(\"/assets/ | head -n 10 public/assets/jstoolbar-632454e7.css:.jstElements .help a {padding: 2px 0 2px 20px; background: url("/assets/help-872ce501.png") no-repeat 0 50%;} public/assets/jstoolbar-632454e7.css: background-image: url("/assets/jstoolbar/bold-9488b1ca.svg"); public/assets/jstoolbar-632454e7.css: background-image: url("/assets/jstoolbar/italic-581bb903.svg"); public/assets/jstoolbar-632454e7.css: background-image: url("/assets/jstoolbar/underline-7f1532c4.svg"); public/assets/jstoolbar-632454e7.css: background-image: url("/assets/jstoolbar/strikethrough-845fb06b.svg"); public/assets/jstoolbar-632454e7.css: background-image: url("/assets/jstoolbar/letter-c-828e6ed3.svg"); public/assets/jstoolbar-632454e7.css: background-image: url("/assets/jstoolbar/h1-2c820a9f.svg"); public/assets/jstoolbar-632454e7.css: background-image: url("/assets/jstoolbar/h2-e48db650.svg"); public/assets/jstoolbar-632454e7.css: background-image: url("/assets/jstoolbar/h3-97122049.svg"); public/assets/jstoolbar-632454e7.css: background-image: url("/assets/jstoolbar/list-3397686a.svg")
There are a lot of files with wrong url:
# grep -R url\(\"/assets/ public/assets | wc -l 205
Related issues
Actions