This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
gitea
mirror of
https://github.com/go-gitea/gitea.git
Watch
0
Star
0
Fork
You've already forked gitea
0
Code
Issues
Activity
b253463e95
gitea
/
web_src
/
js
/
utils
/
url.js
4 lines
99 B
JavaScript
Raw
Blame
History
export
function
pathEscapeSegments
(
s
)
{
return
s
.
split
(
'/'
)
.
map
(
encodeURIComponent
)
.
join
(
'/'
)
;
}
Reference in New Issue
View Git Blame
Copy Permalink