triplea-game / dice-server-js

The new TripleA dice server powered by Node.js
GNU Affero General Public License v3.0
6 stars 6 forks source link

Support custom subject with a maximum length #19

Open RoiEXLab opened 5 years ago

RoiEXLab commented 5 years ago

Just noticed that the current MARTI allows the client to pass a custom subject for the mail being sent. Of course we should limit it to a fixed amount of chars so this feature can't be abused to send spam. Also user input should probably get escaped, just to be sure.