mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-23 06:59:29 -07:00
Fix regex skipping some claims
This commit is contained in:
parent
8d2b935565
commit
df896db473
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ const verify = (signature, opts) => {
|
||||||
let sigClaims = []
|
let sigClaims = []
|
||||||
|
|
||||||
text.split('\n').forEach((line, i) => {
|
text.split('\n').forEach((line, i) => {
|
||||||
const match = line.match(/^(.*)\=(.*)$/i)
|
const match = line.match(/^([a-zA-Z0-9]*)\=(.*)$/i)
|
||||||
if (!match) {
|
if (!match) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue