summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/GitblitSslContextFactory.java
diff options
context:
space:
mode:
authorFlorian Zschocke <f.zschocke+git@gmail.com>2020-11-09 20:27:31 +0100
committerFlorian Zschocke <f.zschocke+git@gmail.com>2020-11-10 00:02:53 +0100
commit3212dc014c445425cc09f8d92065f1afb4e53065 (patch)
tree73413419bbe4c892257af8407755f1d079e92f99 /src/main/java/com/gitblit/GitblitSslContextFactory.java
parent1570199d3fc21c26b1c2a6603b9dc24317176b3f (diff)
downloadgitblit-3212dc014c445425cc09f8d92065f1afb4e53065.tar.gz
gitblit-3212dc014c445425cc09f8d92065f1afb4e53065.zip
raw: Fix getPath with trailing slash that was escaped
While this may be an unlikely scenario, let's still prevent this. When a link was created for a path that ends in a trailing slash, that trailing slash would be replaced with the `forwardSlashCharacter`. But in getPath that final slash would be transformed back *after* the check to chop off trailing slashes. This is now switched so that such a trailing slash is also chopped off.
Diffstat (limited to 'src/main/java/com/gitblit/GitblitSslContextFactory.java')
0 files changed, 0 insertions, 0 deletions