-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Open
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap32-feedbackbug
Description
Steps to reproduce
- Configure Nextcloud to not use
index.php(mod rewrite) - Configure cron to run using cron jobs (not web!)
- Trigger any activity containing an link (e.g. calendar event modified or form shared)
- Wait for digest mail
Expected behaviour
Absolute URL used in email is using correct server address without the index.php.
Actual behaviour
Message contains the index.php.
Other
I checked everything - the URL generate correctly generates the link when used from the webui (e.g. in the notifications app).
But not when sending the digest mail.
I guess the problem is that a background job is sending it, the background job is called by the cron.php which is not using a real request thus the environment for removing the index.php (front_controller_active) is not set.
So when calling the Activity Provider within that context the generated URL will always include the index.php which - depending on the server configuration can be invalid and lead to 404 error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap32-feedbackbug
Type
Projects
Status
👓 Design review
Status
🧭 Planning evaluation (don't pick)
Status
Backlog