-
Notifications
You must be signed in to change notification settings - Fork 33
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
{uid} cannot be used as hostname #182
Comments
Confirming the problem also whenever |
UPDATE: In fact it does work. Might it be that you're referring to the external site with a |
I wanted https://webmail.{uid}/ so there is no localhost involved. |
But we replace it in the full URL Do that should really work |
but the javascript does not allow this syntax, it draws a red border around the url field and does not save. |
I guess this is blocking it: Lines 222 to 227 in e4e5f93
We need to do the replacements with the values of the current admin before checking if the URL is valid. |
Steps to reproduce
Expected behaviour
hostname field should get a green border and save
Actual behaviour
hostname field has a red border and is not saved
Server configuration
PHP version:
7.4
Nextcloud version: (see Nextcloud admin page)
18.0.1
List of activated apps:
external 3.5.0
"https://example.org/{uid}" is working, but not if the variable is used in the hostname part like above.
The text was updated successfully, but these errors were encountered: