Skip to content

urlstore: simplify download batch and add max_size arg#91

Merged
adbar merged 8 commits intomasterfrom
download_urls
Apr 25, 2024
Merged

urlstore: simplify download batch and add max_size arg#91
adbar merged 8 commits intomasterfrom
download_urls

Conversation

@adbar
Copy link
Owner

@adbar adbar commented Apr 24, 2024

No description provided.

@adbar adbar marked this pull request as draft April 24, 2024 12:21
@codecov
Copy link

codecov bot commented Apr 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (a69aa76) to head (0b212c5).

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #91   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines          830       829    -1     
=========================================
- Hits           830       829    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

assert (
len(downloadable_urls) == 2
and downloadable_urls[0].startswith("https://www.example.org")
and downloadable_urls[1].startswith("https://test.org")

Check failure

Code scanning / CodeQL

Incomplete URL substring sanitization

The string [https://test.org](1) may be at an arbitrary position in the sanitized URL.
len(schedule) == 1
and round(schedule[0][0]) == 1
and schedule[0][1] == "https://www.example.org/2"
and schedule[0][1].startswith("https://www.example.org")

Check failure

Code scanning / CodeQL

Incomplete URL substring sanitization

The string [https://www.example.org](1) may be at an arbitrary position in the sanitized URL.
@adbar adbar marked this pull request as ready for review April 24, 2024 15:31
@adbar adbar merged commit c811a02 into master Apr 25, 2024
@adbar adbar deleted the download_urls branch April 25, 2024 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant