Visitar URL original
gh-104049: do not expose on-disk location used by SimpleHTTPServer by ethanfurman · Pull Request #104067 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Lib/test/test_httpservers.py
  • Loading branch information
JelleZijlstra authored May 3, 2023
commit 0621063ebae734a45e3e4ff2b421680ba735d700
2 changes: 1 addition & 1 deletion Lib/test/test_httpservers.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def test_undecodable_filename(self):
data=os_helper.TESTFN_UNDECODABLE)

def test_undecodable_parameter(self):
# sanity check using a valid paramter
# sanity check using a valid parameter
response = self.request(self.base_url + '/?x=123').read()
self.assertRegex(response, ('listing for %s/\?x=123' % self.base_url).encode('latin1'))
# now the bogus encoding
Expand Down