Last active
January 29, 2018 19:20
-
-
Save aruneshchandra/a684112558087aa4f5151bd65e5f07a6 to your computer and use it in GitHub Desktop.
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
function checkInvalidHeaderChar(val) { | |
return !/^[\x09\x20-\x7e\x80-\xff]*$/.test(val); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment