Skip to content

Commit

Permalink
Fix #6066: avoid extraneous /
Browse files Browse the repository at this point in the history
  • Loading branch information
avernet committed Dec 2, 2023
1 parent 4440279 commit af85b1f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -76,7 +76,7 @@ object InitSupport {

val (path, query) = PathUtils.splitQueryDecodeParams(resourceId)

val basePath = context.dropTrailingSlash + '/' + path
val basePath = context.dropTrailingSlash + '/' + path.dropStartingSlash

if (path.endsWith(".css"))
PathUtils.recombineQuery(basePath, query ::: (Constants.EmbeddingNamespaceParameter -> namespace) :: Nil)
Expand Down

0 comments on commit af85b1f

Please sign in to comment.