Skip to content

[FIX] UrlReader: Support urls with special characters#5412

Merged
PrimozGodec merged 1 commit intobiolab:masterfrom
VesnaT:url_reader_special_chars
May 7, 2021
Merged

[FIX] UrlReader: Support urls with special characters#5412
PrimozGodec merged 1 commit intobiolab:masterfrom
VesnaT:url_reader_special_chars

Conversation

@VesnaT
Copy link
Contributor

@VesnaT VesnaT commented Apr 28, 2021

Issue

The OWFile widget can't read files with special characters in their urls.

Description of changes

Fix UrlReader:

  • use urllib.parse.quote to encode the url
Includes
  • Code changes
  • Tests
  • Documentation

@VesnaT VesnaT force-pushed the url_reader_special_chars branch from 3cc5a35 to 62a7605 Compare April 28, 2021 08:30
@codecov
Copy link

codecov bot commented Apr 28, 2021

Codecov Report

Merging #5412 (62a7605) into master (98af325) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #5412   +/-   ##
=======================================
  Coverage   86.37%   86.37%           
=======================================
  Files         303      303           
  Lines       62155    62156    +1     
=======================================
+ Hits        53688    53690    +2     
+ Misses       8467     8466    -1     

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.

2 participants