Skip to content
Snippets Groups Projects
Commit 340b0e51 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

urlencode params in ajax call

parent 49316748
No related branches found
No related tags found
1 merge request!69OP#7476 CI Server: Branches mit Hash verarbeiten https://projects.iml.unibe.ch/work_packages/7476
...@@ -7,9 +7,12 @@ ...@@ -7,9 +7,12 @@
webgui - build a package webgui - build a package
--------------------------------------------------------------------- ---------------------------------------------------------------------
2014-11-14 Axel <axel.hahn@iml.unibe.ch> selector for branches
2014-02-14 Axel <axel.hahn@iml.unibe.ch> build was "ajaxified"
2013-11-08 Axel <axel.hahn@iml.unibe.ch> 2013-11-08 Axel <axel.hahn@iml.unibe.ch>
2014-02-14 Axel build was "ajaxified"
2014-11-14 Axel selector for branches
(...)
2024-09-20 Axel urlencode params in ajax call
###################################################################### */ ###################################################################### */
require_once("./classes/project_gui.class.php"); require_once("./classes/project_gui.class.php");
...@@ -187,10 +190,10 @@ if (!array_key_exists("confirm", $aParams)) { ...@@ -187,10 +190,10 @@ if (!array_key_exists("confirm", $aParams)) {
$sAjaxFile = $aParams["prj"] . "_" . $aParams["action"]; $sAjaxFile = $aParams["prj"] . "_" . $aParams["action"];
$sDivname = "outAjax"; $sDivname = "outAjax";
$sUrlStartAction = "/deployment/?" $sUrlStartAction = "/deployment/?"
. "&prj=" . $aParams["prj"] . "&prj=" . urlencode($aParams["prj"])
. "&action=" . $aParams["action"] . "&action=" . $aParams["action"]
. "&confirm=" . $aParams["confirm"] . "&confirm=" . $aParams["confirm"]
. "&branchname=" . $aParams["branchname"] . "&branchname=" . urlencode($aParams["branchname"])
. "&ajax=" . $sAjaxFile . "&ajax=" . $sAjaxFile
. "&run=1" . "&run=1"
; ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment