Skip to content

Commit

Permalink
Merge pull request #176 from flubshi/matrix_fix_o2_error
Browse files Browse the repository at this point in the history
Fix o2 login error
  • Loading branch information
flubshi authored Dec 28, 2021
2 parents 4f93810 + cabeaf8 commit db8dc7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pvr.waipu/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.waipu"
version="19.1.0"
version="19.1.1"
name="waipu.tv PVR Client"
provider-name="flubshi">
<requires>@ADDON_DEPENDS@
Expand All @@ -25,12 +25,12 @@
<screenshot>resources/screenshots/screenshot-02.jpg</screenshot>
</assets>
<news>
- 19.1.1 Fix error in O2 login
- 19.1.0
- improve behaviour on network failures
- improve login failure handling
- fix memory leak
- 19.0.2 Translations updates from Weblate
- 19.0.1 Translations updates from Weblate
</news>
<summary lang="da_DK">waipu.tv PVR-klient</summary>
<summary lang="de_DE">waipu.tv PVR Client</summary>
Expand Down
2 changes: 1 addition & 1 deletion src/WaipuData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ bool WaipuData::O2Login()
std::string input_name = match.str(1);
std::string input_value = match.str(2);
// we need to dirty HTML-decode &#x3d; to = for base64 padding:
input_value = kodi::tools::StringUtils::Replace(input_value, "&#x3d;", "=");
kodi::tools::StringUtils::Replace(input_value, "&#x3d;", "=");

kodi::Log(ADDON_LOG_DEBUG, "[form input] %s -> %s;", input_name.c_str(), input_value.c_str());

Expand Down

0 comments on commit db8dc7b

Please sign in to comment.