webbuild: fix: urlencode spec version update field vefore submitting
This commit is contained in:
parent
a292621b9c
commit
b8e6a0a960
@ -245,7 +245,7 @@ function print_editorcontrols() {
|
|||||||
echo -n "<div style=\"width:100%;overflow:hidden;\"><span style=\"display:flex\">"
|
echo -n "<div style=\"width:100%;overflow:hidden;\"><span style=\"display:flex\">"
|
||||||
echo -n "<input type=button id=updatespecbutton value=\"update\" onclick="
|
echo -n "<input type=button id=updatespecbutton value=\"update\" onclick="
|
||||||
echo -n "ajax_getvalues(\"ENVIRONMENT=$ENVIRONMENT&REPOSITORY=$REPOSITORY&PACKAGE=$PACKAGEENCODED&"
|
echo -n "ajax_getvalues(\"ENVIRONMENT=$ENVIRONMENT&REPOSITORY=$REPOSITORY&PACKAGE=$PACKAGEENCODED&"
|
||||||
echo -n "REQUEST=updatespec&UPDATESPECVERSION=\"+getElementById('updatespecversion').value+\"&"
|
echo -n "REQUEST=updatespec&UPDATESPECVERSION=\"+encodeURIComponent(getElementById('updatespecversion').value)+\"&"
|
||||||
echo -n "RPMFORCE=\"+getElementById('rpmforce').checked+\"&"
|
echo -n "RPMFORCE=\"+getElementById('rpmforce').checked+\"&"
|
||||||
echo -n "DEBUG=\"+getElementById('debug').checked+\"&"
|
echo -n "DEBUG=\"+getElementById('debug').checked+\"&"
|
||||||
echo -n "REBUILDSPECCHANGELOG=\"+encodeURIComponent(getElementById('rebuildspecchangelog').value)+\"&"
|
echo -n "REBUILDSPECCHANGELOG=\"+encodeURIComponent(getElementById('rebuildspecchangelog').value)+\"&"
|
||||||
|
Loading…
Reference in New Issue
Block a user