The path used for writing to TelegramException.log
is a security risk
#96
Labels
TelegramException.log
is a security risk
#96
The
TelegramException
class writes a log fileTelegramException.log
in the current path of the executing PHP script, becausefile_put_contents
is called with just a filename. This can be a security risk when a public facing web server is in place, where the log file could be in the document root and can be accessed.The text was updated successfully, but these errors were encountered: