File tree Expand file tree Collapse file tree 5 files changed +5
-1
lines changed
Expand file tree Collapse file tree 5 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1515// Edit as someone else?
1616if (($ _SESSION ['userContext ' ] === 'admin ' ) && (!empty ($ _GET ['user ' ]))) {
1717 $ user =escapeshellarg ($ _GET ['user ' ]);
18+ $ user_plain =htmlentities ($ _GET ['user ' ]);
1819}
1920
2021// List datbase
Original file line number Diff line number Diff line change 1515// Edit as someone else?
1616if (($ _SESSION ['userContext ' ] === 'admin ' ) && (!empty ($ _GET ['user ' ]))) {
1717 $ user =escapeshellarg ($ _GET ['user ' ]);
18+ $ user_plain =htmlentities ($ _GET ['user ' ]);
1819}
1920
2021// List ip addresses
Original file line number Diff line number Diff line change 1515// Edit as someone else?
1616if (($ _SESSION ['userContext ' ] === 'admin ' ) && (!empty ($ _GET ['user ' ]))) {
1717 $ user =escapeshellarg ($ _GET ['user ' ]);
18+ $ user_plain =htmlentities ($ _GET ['user ' ]);
1819}
1920
2021$ v_username = $ user ;
Original file line number Diff line number Diff line change 1616// Edit as someone else?
1717if (($ _SESSION ['userContext ' ] === 'admin ' ) && (!empty ($ _GET ['user ' ]))) {
1818 $ user =escapeshellarg ($ _GET ['user ' ]);
19+ $ user_plain =htmlentities ($ _GET ['user ' ]);
1920}
2021
2122// Get all user domains
Original file line number Diff line number Diff line change 857857 < tr >
858858 < td class ="vst-text step-top ">
859859 < ?=_('SSL Certificate');?>
860- < span id ="generate-csr "> / < a class ="generate " target ="_blank " href ="/generate/ssl/?domain=<?=$v_hostname?> "> < ?=_('Generate CSR');?> </ a > </ span >
860+ < span id ="generate-csr "> / < a class ="generate " target ="_blank " href ="/generate/ssl/?domain=<?=htmlentities(trim( $v_hostname,' "')); ?> "> < ?=_('Generate CSR');?> </ a > </ span >
861861 </ td >
862862 </ tr >
863863 < tr >
You can’t perform that action at this time.
0 commit comments