Hello.
I installed moodle on the Windows server 2019 server.
If you upload a file with a name such as 1111+++.pptx , it loads successfully, but when you try to open it, you get the error "File not found"
If you rename it to 1111.pptx or 1111---.pptx, then everything works fine.
Tell me how to add support in IIS for Moodle files like 1111+++.pptx (with pluses, there may be bugs for other characters and I would like to support all valid characters.)
Initially, there was a problem in general with file names with Russian and Ukrainian characters, the solution on the website https://docs.moodle.org/400/en/Internet_Information_Services#URL_rewriting helped
URL rewriting rule has been added
Matches the Pattern - Regular Expressions - ^([^\?]+?\.php)(\/.+)$
Action - Rewrite - {R:1}\?file={R:2}
Append query string - enabled
Stop processing of subsequent rules - enabled
Maybe I need to correct it somehow to solve the problem, but I don’t understand regular expressions
Ask the community for help