This website requires JavaScript.
Explore
Gist
Help
Register
Sign In
Mirrors
/
gitea
mirror of
https://github.com/go-gitea/gitea.git
Watch
1
Star
0
Fork
You've already forked gitea
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
aeeeac8edf
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