Support for subdir / path

Đang mở
#290 0 bình luận 2 reaction 0 người được giao Xem trên GitHub

@timar đang làm issue này rồi.

Từ ngày 1/11/2026.

  • #363 của @timar — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
php
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
PHP
Star
156
Fork
37
Merge trung bình
23 giờ 51 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CollaboraOnline/richdocumentscode

Tất cả issue của CollaboraOnline/richdocumentscode

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.