Skip to content

Commit

Permalink
enable case-insensitive php tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akuhlens committed Jul 21, 2023
1 parent b2b56f5 commit e1f5a68
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion php/lang/security/ldap-bind-without-password.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// ruleid: ldap-bind-without-password
$ldapbind = ldap_bind($ldapconn);

// todoruleid: ldap-bind-without-password
// ruleid: ldap-bind-without-password
LDAP_BIND($ldapconn, "username");

// ruleid: ldap-bind-without-password
Expand Down
2 changes: 1 addition & 1 deletion php/lang/security/php-permissive-cors.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// ruleid: php-permissive-cors
header("Access-Control-Allow-Origin:* ");

// todoruleid: php-permissive-cors
// ruleid: php-permissive-cors
Header("access-control-allow-origin: *");

// ok: php-permissive-cors
Expand Down
2 changes: 1 addition & 1 deletion php/symfony/security/audit/symfony-permissive-cors.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// ruleid: symfony-permissive-cors
$response = new Response('content', Response::HTTP_OK, Array('Access-Control-Allow-Origin' => '*'));

// todoruleid: symfony-permissive-cors
// ruleid: symfony-permissive-cors
$response = new response('content', Response::HTTP_OK, Array('Access-Control-Allow-Origin' => '*'));

// ruleid: symfony-permissive-cors
Expand Down

0 comments on commit e1f5a68

Please sign in to comment.