-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
cross/mantisbt/patches/01-admin-install-check-webservice.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- admin/install.php.orig 2024-08-25 04:18:40 | ||
+++ admin/install.php 2024-09-25 21:53:15 | ||
@@ -478,7 +478,9 @@ | ||
Checking URL to installation | ||
</td> | ||
<?php | ||
- $t_url_check = ''; | ||
+ $t_url_check = 'GOOD'; | ||
+ $t_hard_fail = false; | ||
+/* | ||
if( !$f_path ) { | ||
# Empty URL - warn admin about security risk | ||
$t_url_check = "Using an empty path is a security risk, as MantisBT " | ||
@@ -503,6 +505,7 @@ | ||
} | ||
$t_hard_fail = true; | ||
} | ||
+*/ | ||
|
||
print_test_result( $t_url_check ? BAD : GOOD, $t_hard_fail, $t_url_check ); | ||
?> |