remove url filtering for backup
This commit is contained in:
parent
ffa06fa67e
commit
99b211e4d9
2
bot.go
2
bot.go
@ -440,6 +440,7 @@ func botBackupImport(m *tb.Message) {
|
||||
TGCmdQueue <- c
|
||||
return
|
||||
}
|
||||
/*
|
||||
r := regexp.MustCompile(`^((http[s]?\:)\/\/)?([^\?\:\/#]+)(\:([0-9]+))?(\/[^\?\#]*)?(\?([^#]*))?(#.*)?.zip$`)
|
||||
if !r.MatchString(m.Payload) {
|
||||
c := TGCommand{
|
||||
@ -451,6 +452,7 @@ func botBackupImport(m *tb.Message) {
|
||||
TGCmdQueue <- c
|
||||
return
|
||||
}
|
||||
*/
|
||||
|
||||
p := JobPayloadBackupImport{
|
||||
URL: m.Payload,
|
||||
|
Loading…
Reference in New Issue
Block a user