[#4535] decode browser's uri

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
This commit is contained in:
Roman Volosovskyi 2018-05-31 18:47:33 +03:00 committed by Pedro Pombeiro
parent 860cfe841d
commit 63ac0d9e82
No known key found for this signature in database
GPG Key ID: A65DEB11E4BBC647
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
(not (:name browser))
(assoc :name (i18n/label :t/browser))
(:url browser)
(update :url http/normalize-url)))
(update :url (comp js/decodeURI http/normalize-url))))
(defn add-browser-fx [{:keys [db now]} browser]
(let [new-browser (get-new-browser browser now)]