Merge pull request #146 from PhillipLangMartinez/q-apps

encode name and identifier
This commit is contained in:
CalDescent 2023-03-24 11:48:04 +00:00 committed by GitHub
commit 5ba7a4b480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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