poanetwork / poa-popa

DApp for proof of physical address (PoPA) attestation for validators of POA Network
https://popa.poa.network
GNU General Public License v3.0
24 stars 18 forks source link

(Improvement) Add limits to post body size #174

Closed phahulin closed 6 years ago

phahulin commented 6 years ago

Limit size of post messages body, thus limiting size of all possible strings. Closes #167

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 519


Totals Coverage Status
Change from base Build 511: -0.06%
Covered Lines: 997
Relevant Lines: 1190

💛 - Coveralls
phahulin commented 6 years ago

@matiasgaratortiz since it's only used by server, I moved it to server-config.js. Please check, but don't merge yet, I'd like to check with auditors