fix(updater): encode version when making requests (#1816)

* fix(updater): encode version when making requests

ref: https://github.com/tauri-apps/tauri/issues/10908

* Update .changes/updater-endpoint-version-encoded.md

* only skip `+`

* fmt

* use normal const
This commit is contained in:
Amr Bashir
2024-09-20 13:57:40 +03:00
committed by GitHub
parent 6bf1bd8d44
commit 221f50f53b
4 changed files with 16 additions and 5 deletions
@@ -0,0 +1,5 @@
---
'updater': 'patch'
---
Encode `+` when making updater requests which can be cause incorrectly interpolating the endpoint when using `{{current_version}}` in the endpoint where the current version contains a build number, for example `1.8.0+1`.