-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release v2.2.2 #70
Release v2.2.2 #70
Conversation
- dep(eslint-config): bumped to 1.1.5 - chore: prettier
} | ||
|
||
host() { | ||
const match = /.*@(.*)$/.exec(this.address) |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
regular expression
library input
if (!match) return null; | ||
return match[1]; | ||
if (comment && /\S/.test(comment)) { | ||
comment = comment.replace(/^\s*\(?/, '(').replace(/\)?\s*$/, ')') |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
|
||
// first.last@domain address | ||
if (name === '') { | ||
const match = /([^%.@_]+([._][^%.@_]+)+)[@%]/.exec(addr) |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
regular expression
library input
This
regular expression
library input
// Using encodings, too hard. See Mail::Message::Field::Full. | ||
if (/=?.*?\?=/.test(name)) return ''; | ||
// Using encodings, too hard. See Mail::Message::Field::Full. | ||
if (/=?.*?\?=/.test(name)) return '' |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
regular expression
library input
This
regular expression
library input
name = name | ||
.replace(/\(.*?\)/g, '') // remove minimal embedded comments |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
regular expression
library input
This
fixes #69