0x4e49434f4c45 / amcdb

Another Minecraft-Discord Bridge
https://modrinth.com/mod/amcdb
MIT License
4 stars 0 forks source link

Improve validation of Discord webhook URLs #21

Closed 0x4e49434f4c45 closed 1 year ago

0x4e49434f4c45 commented 1 year ago

Fixes #20

This changes the webhook URL pattern to allow any string in the token segment. AMCDB is really only interested in validating the webhook ID segment, and this change will prevent the webhook feature from breaking if Discord updates their token format in the future.