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
Sharelink v2.1.0 uli - fixes #539 #759
Conversation
Signed-off-by: Uli Heller <uli.heller@daemons-point.com>
Signed-off-by: Uli Heller <uli.heller@daemons-point.com>
303afd5
to
d9d3d63
Compare
Hey Uli, In the issue we talked about a redirect in case it is necessary, and i think this would be the better way to go than changing the public url. So the url won't change depending on a setting. This way is a bit more to understand now to implement it, but that shouldn't be too difficult. Do you want to take a look into this? If you have questions, just ask! 😉 Greets, forms/lib/Controller/PageController.php Lines 152 to 155 in a90d501
https://docs.nextcloud.com/server/20/developer_manual/basics/controllers.html#redirects https://docs.nextcloud.com/server/20/developer_manual/basics/routing.html#using-the-urlgenerator https://github.com/nextcloud/server/blob/e32a14788c42923d99498d62e7e9cc9c79e87720/lib/public/IURLGenerator.php#L105 |
Thx, your proposal is clearly better. I'll look into this. Best regards, Uli |
Hey Uli, while playing around on some different redirect, i just found the route to use for this! 😄:tada: Greets, https://github.com/nextcloud/server/blob/d1bdd1ceba961b0899f504f7417a5c23271c5391/core/routes.php#L54 |
@uli-heller Are you motivated to do it yourself or should i take over? 😉 |
@jotoeri Hey Jonas, I fear I will not have time for this in the upcoming week(s). I'd really appreciate if you could take care of this. Thx! Best regards, Uli |
It's in #539 now, merged with some other new redirect. Greets! :) |
Thx a lot, I'll verify the changes later on... |
For a public form, the link looks like this:
For a non-public form, the link looks like this: