Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

fix: decode url and path before saving to collection - fixed #1451

Liyas Thomasbffdb39c02b4
diff --git a/pages/index.vue b/pages/index.vue
index d11b68d77..63b2f6e67 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1854,8 +1854,8 @@ export default {
}
let urlAndPath = parseUrlAndPath(this.uri)
this.editRequest = {
- url: urlAndPath.url,
- path: urlAndPath.path,
+ url: decodeURI(urlAndPath.url),
+ path: decodeURI(urlAndPath.path),
method: this.method,
auth: this.auth,
httpUser: this.httpUser,