uploadserver 6.0.1__tar.gz → 6.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uploadserver
3
- Version: 6.0.1
3
+ Version: 6.0.2
4
4
  Summary: Python's http.server extended to include a file upload page
5
5
  Home-page: https://github.com/Densaugeo/uploadserver
6
6
  Author: Densaugeo
@@ -216,3 +216,5 @@ Thanks to marvinruder for work on the upload progress indicator, theme option, a
216
216
  Thanks to shuangye for finding an easy way to handle large file uploads, and improved handling of filename collisions.
217
217
 
218
218
  Thanks to abbbe for adding HTTP basic auth (has now replaced the token option).
219
+
220
+ Thanks to SimarMugattarov, theo543, and poshul for minor updates.
@@ -193,3 +193,5 @@ Thanks to marvinruder for work on the upload progress indicator, theme option, a
193
193
  Thanks to shuangye for finding an easy way to handle large file uploads, and improved handling of filename collisions.
194
194
 
195
195
  Thanks to abbbe for adding HTTP basic auth (has now replaced the token option).
196
+
197
+ Thanks to SimarMugattarov, theo543, and poshul for minor updates.
@@ -5,7 +5,7 @@ with open('README.md', 'r') as fh:
5
5
 
6
6
  setuptools.setup(
7
7
  name='uploadserver',
8
- version='6.0.1',
8
+ version='6.0.2',
9
9
  author='Densaugeo',
10
10
  author_email='author@example.com',
11
11
  description='Python\'s http.server extended to include a file upload page',
@@ -186,8 +186,8 @@ handler: http.server.BaseHTTPRequestHandler, auth: str,
186
186
  except binascii.Error:
187
187
  return (False, 'Credentials incorrectly formatted')
188
188
 
189
- http_username, http_password = http_username_password.split(':', 2)
190
- args_username, args_password = auth.split(':', 2)
189
+ http_username, http_password = http_username_password.split(':', 1)
190
+ args_username, args_password = auth.split(':', 1)
191
191
  if http_username != args_username: return (False, 'Bad username')
192
192
  if http_password != args_password: return (False, 'Bad password')
193
193
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uploadserver
3
- Version: 6.0.1
3
+ Version: 6.0.2
4
4
  Summary: Python's http.server extended to include a file upload page
5
5
  Home-page: https://github.com/Densaugeo/uploadserver
6
6
  Author: Densaugeo
@@ -216,3 +216,5 @@ Thanks to marvinruder for work on the upload progress indicator, theme option, a
216
216
  Thanks to shuangye for finding an easy way to handle large file uploads, and improved handling of filename collisions.
217
217
 
218
218
  Thanks to abbbe for adding HTTP basic auth (has now replaced the token option).
219
+
220
+ Thanks to SimarMugattarov, theo543, and poshul for minor updates.
File without changes
File without changes