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

Closed
opened 2026-05-05 03:50:43 -06:00 by gitea-mirror · 2 comments
Owner

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.
gitea-mirror 2026-05-05 03:50:43 -06:00
Author
Owner

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

Fixed in 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: github-starred/ntfy#151
No description provided.