megatools
megatools copied to clipboard
megadl considers urls with urlencoded characters to be invalid
For example, https://mega.nz/#%21... is considered invalid, whereas the equivalent https://mega.nz/#!... is considered valid. They should both work, since they mean the same thing.
We can use the following library. https://github.com/BaseMax/DecodeQueryStringC This is done by me.
I am also interested in contributing to this. no problem? @megous
Glib already has a function to decode URL encoded strings.
https://developer.gnome.org/glib/stable/glib-URI-Functions.html#g-uri-unescape-string
You can try the master branch, if it works.
Check the pull report. :+1:
https://github.com/megous/megatools/pull/442