Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug when opening files with uppercase file extensions #599

Open
justkrevedko opened this issue Oct 17, 2024 · 0 comments
Open

Bug when opening files with uppercase file extensions #599

justkrevedko opened this issue Oct 17, 2024 · 0 comments

Comments

@justkrevedko
Copy link

justkrevedko commented Oct 17, 2024

Describe the bug
Error when opening files with extension in capital letters

To Reproduce
Steps to reproduce the behavior:

  1. Upload file with uppercase extesnion
  2. Try to open this file
  3. See error

Expected behavior
Open an editor with a file

Screenshots
Image

Client details:

  • OS: Windows
  • Browser: Any

Server details

Operating system
Ubuntu Server 22.04.4 LTS

Web server
1.18.0

PHP version
8.2.23

Nextcloud version:
29.0.5.1

Version of the officeonline app
2.2.1

Version of Office Online server
16.0.10414.20000

Logs

Nextcloud log (data/nextcloud.log)

{"reqId":"y9MDUgwd7aL050hIsQgY","level":3,"time":"2024-10-17T06:58:22+00:00","remoteAddr":"xxx","user":"xxx","app":"officeonline","method":"GET","url":"/apps/officeonline/index?fileId=4167214&requesttoken=bxMN8QymaZEak7O0xwMyycOGyZChHqFWl%2Bqs7rerNrw%3D%3ACUJsv2nsJrpD6v3c8mBArKTvsefNTuA%2B2dzjgs76YfQ%3D&path=%2Ftest.DOCX","message":"Exception thrown: Exception","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0","version":"29.0.5.1","exception":{"Exception":"Exception","Message":"Could not find urlsrc in WOPI","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/officeonline/lib/TokenManager.php","line":208,"function":"getUrlSrcForFile","class":"OCA\\Officeonline\\WOPI\\Parser","type":"->"},{"file":"/var/www/html/nextcloud/apps/officeonline/lib/Controller/DocumentController.php","line":241,"function":"getToken","class":"OCA\\Officeonline\\TokenManager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"index","class":"OCA\\Officeonline\\Controller\\DocumentController","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":338,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1053,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/apps/officeonline/lib/WOPI/Parser.php","Line":213,"CustomMessage":"Exception thrown: Exception"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant