Skip to content

Commit

Permalink
Merge pull request #3013 from returntocorp/andre/enable-case-insensit…
Browse files Browse the repository at this point in the history
…ive-php-tests

enable case-insensitive php tests
  • Loading branch information
akuhlens authored Aug 14, 2023
2 parents 7c9bd3c + 29e0d7c commit c86b769
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions generic/secrets/gitleaks/generic-api-key.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ this.cmfPassword.foo = "thiscmfPassword1"
const connectionToken = `12345-123-abc`;
this._perfKey = 'network_XMLHttpRequest_' + String(friendlyName);

// todoruleid: generic-api-key
// todook: generic-api-key
this.txtCfmPassword.Name = "txtCfmPassword";

// ok: generic-api-key
Expand Down Expand Up @@ -98,7 +98,7 @@ author.author_address_id = 9223372036854775808 # out of range in the bigint

"ClientIP": "198.51.100.08"

// todook: generic-api-key
// ok: generic-api-key
github.com/Azure/go-autorest/autorest/azure/auth v0.5.11 h1:P6bYXFoao05z5uhOQzbC3Qd8JqF3jUoocoTeIxkp2cA=

// ok: generic-api-key
Expand Down
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 c86b769

Please sign in to comment.