[GH-ISSUE #193] Android app: Validate server URLs #152

Closed
opened 2026-05-07 00:20:38 +02:00 by BreizhHardware · 2 comments

Originally created by @StoyanDimitrov on GitHub (Mar 30, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/193

Make proper URL validation of the user input in:

  • default server
  • new user for new server

Currently one can add invalid characters in those server URL fields.

Originally created by @StoyanDimitrov on GitHub (Mar 30, 2022). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/193 Make proper URL validation of the user input in: - default server - new user for new server Currently one can add invalid characters in those server URL fields.
Author
Owner

@binwiederhier commented on GitHub (Apr 14, 2022):

Fixed in github.com/binwiederhier/ntfy-android@fc27b0ce99

<!-- gh-comment-id:1098589408 --> @binwiederhier commented on GitHub (Apr 14, 2022): Fixed in https://github.com/binwiederhier/ntfy-android/commit/fc27b0ce99c47f0e73b8b811e2ad1aa022a2bdc0
Author
Owner

@binwiederhier commented on GitHub (Apr 14, 2022):

Note: I opted for keeping a very simple URL validation (basically anything starting with http?://...), because it's too hard and not worth it to do anything else.

<!-- gh-comment-id:1098589854 --> @binwiederhier commented on GitHub (Apr 14, 2022): Note: I opted for keeping a very simple URL validation (basically anything starting with `http?://...`), because it's too hard and not worth it to do anything else.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#152
No description provided.