Enable Presentation Download

Fix filename regular expression for download of presentation
files.
This commit is contained in:
Clemens Heuberger 2020-05-17 21:30:09 +02:00
parent 26c564a55e
commit ce1a8b0eed

View File

@ -47,7 +47,7 @@
} }
location ~ "^/bigbluebutton/presentation/download\/[0-9a-f]+-[0-9]+/[0-9a-f]+-[0-9]+$" { location ~ "^/bigbluebutton/presentation/download\/[0-9a-f]+-[0-9]+/[0-9a-f]+-[0-9]+$" {
if ($arg_presFilename !~ "^[0-9a-zA-Z]+\.[0-9a-zA-Z]+$") { if ($arg_presFilename !~ "^[0-9a-zA-Z]+-[0-9]+\.[0-9a-zA-Z]+$") {
return 404; return 404;
} }
proxy_pass http://core:8090$uri$is_args$args; proxy_pass http://core:8090$uri$is_args$args;