Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Project-OSRM/osrm-backend
/ encodeURIComponent
Method
encodeURIComponent
scripts/gdb_printers.py:98–99 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
96
97
@staticmethod
98
def
encodeURIComponent(s):
99
return
urllib.parse.quote(s.encode(
'utf-8'
), safe=
'~()*!.\'
&
#x27;)
100
101
@staticmethod
102
def
RouteSteps(steps):
Callers
1
invoke
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected