mirror of
https://github.com/imputnet/cobalt.git
synced 2026-11-06 01:38:28 +00:00
facebook: do not request the source url & clean up
fixed a vulnerability, removed useless variables, and cleaned up thankfully we haven't built the image yesterday
This commit is contained in:
parent
faeb96848b
commit
83af16bb12
4 changed files with 24 additions and 30 deletions
|
|
@ -68,5 +68,6 @@ export const testers = {
|
|||
patternMatch.shortLink?.length <= 11
|
||||
|| patternMatch.username?.length <= 30
|
||||
|| patternMatch.caption?.length <= 255
|
||||
|| patternMatch.id?.length <= 20,
|
||||
|| patternMatch.id?.length <= 20 && !patternMatch.shareType
|
||||
|| patternMatch.id?.length <= 20 && patternMatch.shareType?.length === 1,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue