Add a warning or error message to Server Settings -> External domain #3988

Closed
opened 2026-02-05 09:34:28 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @martyfuhry on GitHub (Jul 31, 2024).

The bug

You can enter non-valid URLs to the External domain text box

image

We should get an error message, because this is obviously not a valid entry. In particular, we could try URL.canParse() validate the text.

I would also like to not be required to enter the http:// or https:// prefix, and just have the application conditionally look that up for me. But maybe that would be best as a follow-up issue.

The OS that Immich Server is running on

NA

Version of Immich Server

1.111

Version of Immich Mobile App

NA

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

NA

Your .env content

NA

Reproduction steps

Go to Server Settings -> External domain

Relevant log output

No response

Additional information

No response

Originally created by @martyfuhry on GitHub (Jul 31, 2024). ### The bug You can enter non-valid URLs to the External domain text box ![image](https://github.com/user-attachments/assets/112d988d-a356-4ee5-ad2b-0cbeb47fbd0e) We should get an error message, because this is obviously not a valid entry. In particular, we could try `URL.canParse()` validate the text. I would also like to not be *required* to enter the `http://` or `https://` prefix, and just have the application conditionally look that up for me. But maybe that would be best as a follow-up issue. ### The OS that Immich Server is running on NA ### Version of Immich Server 1.111 ### Version of Immich Mobile App NA ### Platform with the issue - [ ] Server - [X] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML NA ``` ### Your .env content ```Shell NA ``` ### Reproduction steps ```bash Go to Server Settings -> External domain ``` ### Relevant log output _No response_ ### Additional information _No response_
OVERLORD added the 🗄️servergood first issue labels 2026-02-05 09:34:28 +03:00
Author
Owner

@bo0tzz commented on GitHub (Jul 31, 2024):

Should just need @IsUrl tacked on at https://github.com/immich-app/immich/blob/main/server/src/dtos/system-config.dto.ts#L380.

@bo0tzz commented on GitHub (Jul 31, 2024): Should just need `@IsUrl` tacked on at https://github.com/immich-app/immich/blob/main/server/src/dtos/system-config.dto.ts#L380.
Author
Owner

@Ghosty01 commented on GitHub (Jul 1, 2025):

when url contains "_" makes trouble :/

@Ghosty01 commented on GitHub (Jul 1, 2025): when url contains "_" makes trouble :/
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#3988