File tree Expand file tree Collapse file tree 5 files changed +10
-7
lines changed
install/rpm/templates/web/nginx/php-fpm Expand file tree Collapse file tree 5 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,9 @@ server {
2424
2525 include %home%/%user%/conf/web/%domain%/nginx.hsts.conf*;
2626
27- location ~ /.well-known {
28- allow all;
27+ location ~ /\.(?!well-known\/) {
28+ deny all;
29+ return 404;
2930 }
3031
3132 location / {
Original file line number Diff line number Diff line change @@ -15,8 +15,9 @@ server {
1515
1616 include % home% /% user% /conf/web/% domain% /nginx.forcessl.conf*;
1717
18- location ~ /.well-known {
19- allow all;
18+ location ~ /\.(?! well-known\/) {
19+ deny all;
20+ return 404;
2021 }
2122
2223 location / {
Original file line number Diff line number Diff line change 358358 $ return_var ,
359359 );
360360 check_return_code ($ return_var , $ output );
361- $ v_timezone = $ _POST ["v_timezone " ];
361+ if (in_array ($ _POST ["v_timezone " ], $ v_timezones )) {
362+ $ v_timezone = $ _POST ["v_timezone " ];
363+ }
362364 unset($ output );
363365 }
364366 }
Original file line number Diff line number Diff line change 99 NOTIFICATIONS_EMPTY: '<?= _ ("No notifications " ) ?> ',
1010 NOTIFICATIONS_DELETE_ALL: '<?= _ ("Delete all notifications " ) ?> ',
1111 CONFIRM_LEAVE_PAGE: '<?= _ ("Are you sure you want to leave the page? " ) ?> ',
12- ERROR_MESSAGE: '<?= !empty ($ _SESSION ["error_msg " ]) ? htmlentities ($ _SESSION ["error_msg " ]) : "" ?> ',
12+ ERROR_MESSAGE: '<?= !empty ($ _SESSION ["error_msg " ]) ? htmlentities ($ _SESSION ["error_msg " ], ENT_QUOTES ) : "" ?> ',
1313 BLACKLIST: '<?= _ ("BLACKLIST " ) ?> ',
1414 IPVERSE: '<?= _ ("IPVERSE " ) ?> '
1515 });
Original file line number Diff line number Diff line change @@ -117,7 +117,6 @@ class="fas icon-dim icon-maroon js-section-toggle-icon"
117117 <select class="form-select" name="v_backend_template" id="v_backend_template">
118118 <?php
119119 foreach ($ backend_templates as $ key => $ value ) {
120- echo $ v_backend_template ;
121120 echo "\t\t\t\t<option value= \"" .$ value ."\"" ;
122121 if ((!empty ($ v_backend_template )) && ( $ value == trim ($ v_backend_template , "' " ))){
123122 echo ' selected ' ;
You can’t perform that action at this time.
0 commit comments