paster and mod_wsgi are forgiving with URLs like /p/test//icon but gunicorn doesn't help fix that double slash.
/p/test//icon
db/8007
Looks good. Merged
I have removed slash from the forum icon path also:
ForgeDiscussion/forgediscussion/templates/discussionforums/admin_forums.html 43: <img src="{{forum.url()}}/icon" alt="Forum icon"/>
I can't check how it works due to [#8008], but Forum.url adds / to the end of the url it returns (see ForgeDiscussion/forgediscussion/model/forum.py:103), so I'm pretty sure the change is right.
Forum.url
/
ForgeDiscussion/forgediscussion/model/forum.py:103
Tickets: #8008
Log in to post a comment.
db/8007
Looks good. Merged
I have removed slash from the forum icon path also:
I can't check how it works due to [#8008], but
Forum.url
adds/
to the end of the url it returns (seeForgeDiscussion/forgediscussion/model/forum.py:103
), so I'm pretty sure the change is right.Related
Tickets:
#8008