# File escape.rb, line 115
def
uri_path
(
str
)
str
.
gsub
(
%r{[^/]+}n
) {
uri_segment
(
$&
) }
end