Skip to content

Conversation

@AbeEstrada
Copy link
Contributor

I got this error while scrolling my timeline:

File "/Code/toot-abe/toot/utils/__init__.py", line 149, in urlencode_url
  encoded_query = urlencode({k: quote(unquote(v), safe="-._~()'!*:@,;?/") for k, v in parsed_url.params})

It was a url from this status: https://toot.cafe/@slightlyoff/115165318335242370

https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/imagecapture/image_capture.cc;l=1576

I updated the urlencode_url function and added a test to thandle this particular type of urls

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