gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[reclaim-webextension] 47/95: - fix wrong urlencode


From: gnunet
Subject: [reclaim-webextension] 47/95: - fix wrong urlencode
Date: Fri, 11 Jun 2021 23:35:32 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository reclaim-webextension.

commit a9f43741c77b42014b484e0c052974c56be23a88
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Sun Aug 2 13:33:46 2020 +0200

    - fix wrong urlencode
---
 background/reclaim.js | 4 ++--
 manifest.json         | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/background/reclaim.js b/background/reclaim.js
index 0c48743..4086659 100644
--- a/background/reclaim.js
+++ b/background/reclaim.js
@@ -18,13 +18,13 @@ function handle_onbefore_request(request)
     var url = new URL(request.url);
 
     if(url.hostname == "ui.reclaim") {
-        authzSettings.search = decodeURIComponent(request.url).split("?")[1];
+        authzSettings.search = request.url.split("?")[1];
         authzSettings.request = true;
         chrome.storage.local.set(authzSettings, function() {});
         console.log(authzSettings);
         //browser.runtime.openOptionsPage();
         //return {};
-        return {"redirectUrl": chrome.runtime.getURL("/index.html") + "?" + 
decodeURIComponent(request.url).split("?")[1]}
+        return {"redirectUrl": chrome.runtime.getURL("/index.html") + "?" + 
request.url.split("?")[1]}
     }
     if (url.hostname == "api.reclaim") {
         return {"redirectUrl": "http://localhost:7776"; + url.pathname + 
url.search};
diff --git a/manifest.json b/manifest.json
index 410599b..f923900 100644
--- a/manifest.json
+++ b/manifest.json
@@ -3,7 +3,7 @@
   "manifest_version": 2,
   "name": "re:claimID",
   "description": "An extension for use with re:claimID.",
-  "version": "0.2.1",
+  "version": "0.2.2",
 
   "applications": {
     "gecko": {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]