EFForg / https-everywhere

A browser extension that encrypts your communications with many websites that offer HTTPS but still allow unencrypted connections.
https://eff.org/https-everywhere
Other
3.37k stars 1.09k forks source link

Fix unexpected arithmetic operations on strings #20043

Closed cschanaj closed 3 years ago

cschanaj commented 3 years ago

@pipboy96 would you kindly check if this is a bug?

octet is a string type, per typescript check

the right-hard side of an arithmetic operation must be of type any, number, bigint or an enum type.

octetN is not used otherwise.

Type of change

cschanaj commented 3 years ago

@zoracon is there anything blocking this PR?