[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 186/219: Protect queryString with encodeURI
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 186/219: Protect queryString with encodeURI |
Date: |
Mon, 18 Dec 2017 13:23:00 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 2e844abc39434a2f0682af2dc6aa1d9e78a2ffaa
Author: Dany De Bontridder <address@hidden>
Date: Fri Dec 8 20:11:22 2017 +0100
Protect queryString with encodeURI
---
html/js/acc_ledger.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/html/js/acc_ledger.js b/html/js/acc_ledger.js
index 2238219..73d1dcc 100644
--- a/html/js/acc_ledger.js
+++ b/html/js/acc_ledger.js
@@ -162,7 +162,7 @@ function update_row(ctl)
{
var jrn = g('p_jrn').value;
var dossier = g('gDossier').value;
- var qs = 'gDossier=' + dossier + '&op=minrow&j=' + jrn + '&ctl=' + ctl;
+ var qs = encodeURI('gDossier=' + dossier + '&op=minrow&j=' + jrn +
'&ctl=' + ctl);
var action = new Ajax.Request(
"ajax_misc.php",
{
@@ -917,7 +917,7 @@ function filter_card(obj, queryString)
{
queryString = queryString + '&j=' + jrn;
}
- return queryString;
+ return encodeURI(queryString);
}
/**
address@hidden to display the lettering for the operation, call
@@ -1058,7 +1058,7 @@ function op_save(obj)
var action = new Ajax.Request('ajax_misc.php',
{
method: 'post',
- parameters: queryString,
+ parameters: encodeURI(queryString),
onFailure: null,
onSuccess: infodiv
}
- [Noalyss-commit] [noalyss] 173/219: Improve calc, (continued)
- [Noalyss-commit] [noalyss] 173/219: Improve calc, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 104/219: Réécriture de CFGPCMN pour utiliser ManageTable pas de delete proposé si compte utilisé, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 14/219: Infobulle : warning : esthetic, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 44/219: fix minor bug + doc, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 46/219: Manage_Table : Improve Javascript for adding / removing row of table, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 27/219: Task #0001443: opérations rapprochées : bug quand on utilise des tva avec autoliquidation Check with the view v_quant_detail and take into account the negative VAT, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 33/219: Task #0001324: Afficher la date (période) dans FSALDO, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 198/219: Task #001381 : reinitialize the search_form, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 154/219: Task #1440 CA - opération diverses inaccessibles Task #1370 les OD en comptabilité analytique - problème., Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 209/219: Merge branch 'master' of ns3:/srv/git/noalyss, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 186/219: Protect queryString with encodeURI,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 207/219: Task #1381 Change esthetic Search Filter, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 208/219: Fix search for reconcile, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 157/219: Fix issue with open_basedir, sometime set in the server config, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 196/219: Task #001381 : favori de filtre , table pour sauvegarder, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 109/219: Add button to pin the box, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 134/219: #0001414: LETTRAGE - montants différents non indiqués Apparation d'une bulle d'info avec la différence, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 147/219: ANC : ANC_TABLE replace PGPLSQL procedure by Php functions : Anc_Table:create_temp_account Anc_Table:create_temp_card, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 20/219: Add new theme and modify tmp_pcmn, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 180/219: Fix ID problem, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 89/219: Cosmetic : cache certaines colonnes pour petit écran, Dany De Bontridder, 2017/12/18