Module Import alias ImportFrom alias ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assert UnaryOpNot Call NameLoad NameLoad keyword Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad NameLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam defaults body Assert Call NameLoad NameLoad keyword Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad Str Str Str Str Str Str Str Str decorator_list
N/A N/A pytest warehouse.utils.http is_safe_url TestIsSafeUrl N/A N/A test_rejects_bad_url N/A N/A self url N/A N/A N/A N/A N/A is_safe_url url host testserver N/A N/A N/A N/A pytest mark parametrize url N/A None http://example.com http:///example.com https://example.com ftp://exampel.com \\example.com \\\example.com /\\/example.com \\\example.com \\example.com \\//example.com /\/example.com \/example.com /\example.com http:///example.com http:/\//example.com http:\/example.com http:/\example.com javascript:alert("XSS") 
javascript:alert(x) //example.com test_accepts_good_url N/A N/A self url N/A N/A N/A N/A is_safe_url url host testserver N/A N/A N/A N/A pytest mark parametrize url N/A /view/?param=http://example.com /view/?param=https://example.com /view?param=ftp://exampel.com view/?param=//example.com https://testserver/ HTTPS://testserver/ //testserver/ /url%20with%20spaces/ N/A