Cmd+Clicking or middle-clicking a file with a `#` or `?` in its name opened the space root instead of the file, and the top bar showed the space name rather than the file name. The file's path is carried in a route parameter which the router percent-encodes when it builds the URL, but the editor route was resolved twice and resolving twice does not encode twice: the second pass rebuilt the URL from the still-decoded parameter with the encoding step skipped. The browser then read everything from the `#` onward as a fragment, discarding the query string along with the `fileId` needed to identify the file. Left clicks were unaffected because they never leave the app. Editor routes are now handed to links unresolved, so the file name is encoded exactly once and survives both a new tab and an in-app navigation. Hash and question mark remain valid characters in file names.
ownCloud Web
ownCloud Web is the next-generation frontend for ownCloud Infinite Scale, built as a single-page application with Vue.js and TypeScript. It provides a modern, accessible and themeable user interface for managing files, sharing, real-time collaboration and administration -- designed to be extensible through a plugin-based architecture that allows third-party developers to build custom apps and extensions.
Getting Started
Set up a local development environment for ownCloud Web:
Prerequisites
- Node.js (LTS recommended)
- pnpm
- Docker Compose (for backend)
For the complete development setup, see the setup guide.
Structure
The web/packages directory contains the core modules:
- client -- Generated TypeScript client for the oCIS Graph API
- container -- Static assets and base files
- extension-sdk -- Utilities for developing custom extensions
- pkg -- Shared logic used across the codebase
- runtime -- Authentication, routing, theming and application handling
Built-in apps (also in web/packages):
- files -- Core file sync-and-share functionality
- admin-settings -- User, group and space administration
- activities -- Activity stream
- app-store -- Browse and install extensions
- epub-reader -- Ebook file viewer
- external -- WOPI-based document editing (Collabora, ONLYOFFICE)
- pdf-viewer -- PDF file viewer
- preview -- Audio, video and image previewer
- text-editor -- Plain text editor