This website requires JavaScript.
Explore
Help
Sign In
core
/
gitea
Watch
3
Star
0
Fork
You've already forked gitea
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
283b19bad5
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