This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
forgejo
mirror of
Watch
1
Fork
You've already forked forgejo
0
Code
Issues
Releases
Activity
f9653f036c
forgejo
/
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