encode name and identifier

This commit is contained in:
Phillip 2023-03-24 13:46:38 +02:00
parent 19076dbdc6
commit 4ba418998a

View File

@ -254,7 +254,7 @@ class WebBrowser extends LitElement {
</div>
<div class="iframe-container">
<iframe id="browser-iframe" src="${this.url
}" sandbox="allow-scripts allow-forms allow-downloads">
}" sandbox="allow-scripts allow-forms allow-downloads" allow="fullscreen">
<span style="color: var(--black);">${translate(
'browserpage.bchange6'
)}</span>
@ -569,10 +569,10 @@ class WebBrowser extends LitElement {
try {
this.loader.show();
const resPublish = await publishData({
registeredName: name,
registeredName: encodeURIComponent(name),
file: data64,
service: service,
identifier: identifier,
identifier: encodeURIComponent(identifier),
parentEpml,
uploadType: 'file',
selectedAddress: this.selectedAddress,