Skip to content

Commit b109ac4

Browse files
authored
Merge pull request #728 from joomlatools/feature/727-jwt
CSRF vulnerability
2 parents 1a6f456 + c937ee0 commit b109ac4

File tree

1 file changed

+1
-1
lines changed
  • code/libraries/joomlatools/library/http/token

1 file changed

+1
-1
lines changed

code/libraries/joomlatools/library/http/token/token.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ public function fromString($token)
444444
$this->setAlgorithm('none');
445445
}
446446
}
447-
else throw new InvalidArgumentException(sprintf('The token "%s" is an invalid JWT', $token));
447+
else throw new InvalidArgumentException('The token is an invalid JWT');
448448

449449
return $this;
450450
}

0 commit comments

Comments
 (0)