mirror of https://github.com/koreader/koreader
Fixed Wallabag plugin's parsing of wrong API url. (#4501)
The Wallabag plugin's callAPI() method was attempting to parse the user supplied URL for the Wallabag API. Unfortunately, the parse was silently failing since the variable apiurl did not contain a complete URL. The scheme of the parsed URL (always nil) was then used to select either http or https (default). The result being https was always selected, regardless of the user supplied setting. The parsed URL was switched to the variable server_url instead of apiurl but the behavior resulting in the default selection of https when parsing fails was left unchanged.pull/4507/head
parent
6b3158e497
commit
b6298810bb
Loading…
Reference in New Issue