Support for subdir / path

Offen
#290 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

@timar arbeitet bereits daran.

Seit 01.11.2026.

  • #363 von @timar — offen

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
php
Bereich
backend

Rechercherichtung

Start by reading custom_apps/richdocumentscode/proxy.php and tracing how it builds the browser, CSS, and JavaScript URLs. Reproduce the reported .docx loading failure with Nextcloud installed under /nextcloud/. Done means those requests include the subdirectory path and no longer return 404s.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

I have NC installed in /nextcloud/ .
I just installed it and it seems that when I try to load a .docx file the browser does a request which results in 404 (of course)

https://site/custom_apps/richdocumentscode/proxy.php?req=/browser/77a0aab/cool.html?WOPISrc=...

This should be

https://site/nextcloud/custom_apps/...

Manually loading that url seems to result in other 404s because the css and js it's trying to load also don't know about the custom path.

https://site/custom_apps/richdocumentscode/proxy.php?req=/browser/77a0aab/....
bundle.css branding.css global.js branding.js bundle.js

Vorherrschende Sprache
PHP
Sterne
156
Forks
37
Ø Merge
23 Std. 51 Min.
Gemergte PRs (30 T.)
2

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CollaboraOnline/richdocumentscode

Alle Issues in CollaboraOnline/richdocumentscode

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.