Fix critical security vulnerability#110
Conversation
|
What is the place to check the header? |
|
@mpociot to avoid the breaking change you could make this optional. |
|
Tests runs fine on my machine. Seems like to fix it here this needs to be added to the end of the "config": {
"allow-plugins": {
"thecodingmachine/discovery": true
}
}and add |
|
I'm closing this because it's not implemented correctly. You should not use TELEGRAM_TOKEN as secret_token but a custom secret as per documentation: https://core.telegram.org/bots/api#setwebhook Moreover, it must be possible to enable and disable this feature from the configuration file (i.e. secre_token = null, makes it disabled) and make it working also for existing installations (ie. disabled by default). Feel free to refactor it and send a new PR. |
Closes botman/studio#99
This is a breaking change all users must run the
src/Console/Commands/TelegramRegisterCommand.phpconsole command.Edits are welcome.