url escape

This commit is contained in:
Pete Matsyburka committed 2026-11-14 14:49:39 +02:00
1 parent 1b50efe511
commit dd790be5cb
3 files changed
+3 -3

No files matched your search

@@ -253,7 +253,7 @@ export default {
},
async submit () {
if (this.sessionId) {
return fetch(this.baseUrl + this.paymentEndpoint + '/' + this.sessionId, {
return fetch(this.baseUrl + this.paymentEndpoint + '/' + encodeURIComponent(this.sessionId), {
method: 'PUT',
...this.fetchOptions,
headers: { 'Content-Type': 'application/json', ...this.fetchOptions.headers }