Marmalade-NG / marmalade-ng

Fork of Marmalade-V2
10 stars 2 forks source link

Validate the length of the URI #9

Open CryptoPascal31 opened 8 months ago

CryptoPascal31 commented 8 months ago

A PR for the next release. Validate the length of the URI. Empty URIs are not allowed anymore: Dapp and backends should be able to rely on the fact that empty URIs don't exist.

A high limit to 1024 characters as been added in the same time. We should prevent spamming with very large strings, just in case.