There are 3 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-dc6e53c6-2ecc-4a27-af00-e1cfbe1a334b XWIKI-22428 Open

XWiki shouldn't allow passing URLs with an empty path segment in it

 
View issue   ยท   Add comment
 

3 comments

 
cid:jira-generated-image-avatar-1edc11ff-e50a-4cc1-ad5e-7a20b5f8a813 Vincent Massol on 17/Aug/24 09:00
 

This was noticed in escaping tests which were failing. To be verified if this is really used somewhere in the code.

 
cid:jira-generated-image-avatar-1edc11ff-e50a-4cc1-ad5e-7a20b5f8a813 Vincent Massol on 17/Aug/24 09:01
 
This was noticed in escaping tests which were failing. To be verified if this is really used somewhere in the runtime code and understand why we have tests testing this .
 
cid:jira-generated-image-avatar-1edc11ff-e50a-4cc1-ad5e-7a20b5f8a813 Vincent Massol on 17/Aug/24 09:01
 

Note that a trailing "/" could also trigger this rule.