Fix validation issue in isJWT function by Prathamesh061 · Pull Request #2217 · validatorjs/validator.js

Skip to content

Navigation Menu

Sign in

Appearance settings

Conversation

fix: Ensure isJWT returns false for 2 part invalid JWT tokens

Previously, the isJWT function would return true for 2 part invalid JWT tokens. This has been fixed by updating the isJWT function to return false for such tokens.

WikiRik

Added test case for validating JSON web tokens (JWT)
Refactor tests in isjwt and remove redundant test case

WikiRik

Removed redundant test in isJWT

pano9000

pano9000

chrislemus

chrislemus

profnandaa

This was referenced

Jul 19, 2024

@vky5 vky5 mentioned this pull request

Jul 30, 2024

This was referenced

Aug 30, 2024

This was referenced

Sep 10, 2024

@vky5 vky5 mentioned this pull request

Sep 15, 2024

This was referenced

Sep 19, 2024