Skip to content

Commit

Permalink
Increasing minumum number of chars for base64 check
Browse files Browse the repository at this point in the history
  • Loading branch information
botherder committed Jan 27, 2019
1 parent 95eafc0 commit a19b046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion urlchecks.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func checkB64Parameters(link *Link, page *Page, brands *Brands) bool {
for _, value := range link.Parameters {
// We skip strings that are too short, because they could significantly
// raise false positives.
if len(value) <= 5 {
if len(value) <= 8 {
continue
}
_, err := base64.StdEncoding.DecodeString(value)
Expand Down

0 comments on commit a19b046

Please sign in to comment.