mirror of
https://github.com/akuker/RASCSI.git
synced 2025-07-18 04:24:11 +00:00
Static analysis fixes for Python codebase (#1277)
* Don't log names of internal symbols that can be used for attacks * Add integrity check to dropzone.js library * Better a11y of web form labels * Safer handling of file download paths * Don't invert boolean check * Make backend auth check a flask abort * Clean up indentation to remove unwanted tabs * Run workflow either on PR events, or branch pushes, not both
This commit is contained in:
@@ -362,7 +362,7 @@ def test_download_url_to_dir(env, httpserver, http_client, list_files, delete_fi
|
||||
assert file_name in list_files()
|
||||
assert (
|
||||
response_data["messages"][0]["message"]
|
||||
== f"{file_name} downloaded to {env['images_dir']}{subdir}"
|
||||
== f"Downloaded file to {env['images_dir']}{subdir}{file_name}"
|
||||
)
|
||||
|
||||
# Cleanup
|
||||
|
Reference in New Issue
Block a user