Monorepo for Tangled
0

Configure Feed

Select the types of activity you want to include in your feed.

appview/pages/markup: Use QueryEscape, not PathEscape, for query params

Signed-off-by: Runxi Yu <me@runxiyu.org>

author
Runxi Yu
committer
Tangled
date (Nov 23, 2025, 5:54 AM UTC) commit affc138f parent ed4b1ab1
+1 -1
+1 -1
appview/pages/markup/markdown.go
··· 249 249 repoName := fmt.Sprintf("%s/%s", rctx.RepoInfo.OwnerDid, rctx.RepoInfo.Name) 250 250 251 251 query := fmt.Sprintf("repo=%s&ref=%s&path=%s&raw=true", 252 - url.PathEscape(repoName), url.PathEscape(rctx.RepoInfo.Ref), actualPath) 252 + url.QueryEscape(repoName), url.QueryEscape(rctx.RepoInfo.Ref), actualPath) 253 253 254 254 parsedURL := &url.URL{ 255 255 Scheme: scheme,