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

Function _quote_plus

thirdparty/clientform/clientform.py:154–161  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

152 return re.sub(r"(?:(?<!\r)\n)|(?:\r(?!\n))", "\r\n", text)
153
154def _quote_plus(value):
155 if not isinstance(value, six.string_types):
156 value = six.text_type(value)
157
158 if isinstance(value, six.text_type):
159 value = value.encode("utf8")
160
161 return _urllib.parse.quote_plus(value)
162
163# This version of urlencode is from my Python 1.5.2 back-port of the
164# Python 2.1 CVS maintenance branch of urllib. It will accept a sequence

Callers 1

urlencodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…