uploadserver 6.0.3__tar.gz → 6.0.4__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.3
3
+ Version: 6.0.4
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
@@ -224,4 +224,4 @@ Thanks to abbbe for adding HTTP basic auth (has now replaced the token option).
224
224
 
225
225
  Thanks to 0xLordMahesh for reporting the timing side channel and DoS vulnerabilities patched in 6.0.2 and 6.0.3.
226
226
 
227
- Thanks to SimarMugattarov, theo543, and poshul for minor updates.
227
+ Thanks to SimarMugattarov, theo543, poshul, and OnkarRuikar for minor updates.
@@ -201,4 +201,4 @@ Thanks to abbbe for adding HTTP basic auth (has now replaced the token option).
201
201
 
202
202
  Thanks to 0xLordMahesh for reporting the timing side channel and DoS vulnerabilities patched in 6.0.2 and 6.0.3.
203
203
 
204
- Thanks to SimarMugattarov, theo543, and poshul for minor updates.
204
+ Thanks to SimarMugattarov, theo543, poshul, and OnkarRuikar 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.3',
8
+ version='6.0.4',
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',
@@ -29,6 +29,9 @@ def get_upload_page(theme: str) -> bytes:
29
29
  </head>
30
30
  <body>
31
31
  <h1>File Upload</h1>
32
+ <hr />
33
+ <a href="/">File Download</a> (back to download page)
34
+ <hr />
32
35
  <form action="upload" method="POST" enctype="multipart/form-data">
33
36
  <input name="files" type="file" multiple />
34
37
  <br />
@@ -37,6 +40,7 @@ def get_upload_page(theme: str) -> bytes:
37
40
  </form>
38
41
  <p id="task"></p>
39
42
  <p id="status"></p>
43
+ <hr />
40
44
  </body>
41
45
  <script>
42
46
  document.getElementsByTagName('form')[0].addEventListener('submit', async e => {
@@ -83,7 +87,7 @@ def get_directory_head_injection(theme: str) -> bytes:
83
87
  ''', 'utf-8')
84
88
 
85
89
  DIRECTORY_BODY_INJECTION = b'''<!-- Injected by uploadserver -->
86
- <a href="/upload">File upload</a>
90
+ <a href="/upload">File Upload</a>
87
91
  (provided by uploadserver, all files go to server root)
88
92
  <hr>
89
93
  <!-- End injection by uploadserver -->
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uploadserver
3
- Version: 6.0.3
3
+ Version: 6.0.4
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
@@ -224,4 +224,4 @@ Thanks to abbbe for adding HTTP basic auth (has now replaced the token option).
224
224
 
225
225
  Thanks to 0xLordMahesh for reporting the timing side channel and DoS vulnerabilities patched in 6.0.2 and 6.0.3.
226
226
 
227
- Thanks to SimarMugattarov, theo543, and poshul for minor updates.
227
+ Thanks to SimarMugattarov, theo543, poshul, and OnkarRuikar for minor updates.
File without changes
File without changes