MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / get_url

Method get_url

thirdparty/bottle/bottle.py:858–862  ·  view source on GitHub ↗

Return a string that matches a named route

(self, routename, **kargs)

Source from the content-addressed store, hash-verified

856 return self.router.match(environ)
857
858 def get_url(self, routename, **kargs):
859 """ Return a string that matches a named route """
860 scriptname = request.environ.get('SCRIPT_NAME', '').strip('/') + '/'
861 location = self.router.build(routename, **kargs).lstrip('/')
862 return urljoin(urljoin('/', scriptname), location)
863
864 def add_route(self, route):
865 """ Add a route object, but do not change the :data:`Route.app`

Callers

nothing calls this directly

Calls 2

buildMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected