Files
twenty/packages/twenty-front
Nabhag Motivaras 320742cdea [Fix] URL inputs to not submit numeric hostnames and url without domain (#6482)
## ISSUE (BUG)

- Fixes #5396

## Description 

- When given a string like **https://300**, it interprets 300 as the
hostname, which it then converts to an IP address, what i did was to
check if the entire string (ignoring the protocol ) is number then don't
submit it all within zod and it makes sense to do that cause.

- The range for valid 32-bit unsigned integers is 0 to 4294967295 (which
corresponds to 0.0.0.0 to 255.255.255.255) so other than this numbers by
default URL objects throws invalid.




https://github.com/user-attachments/assets/1da92aeb-d50c-43a3-87ea-78a059d3fa84
2024-08-08 17:42:36 +02:00
..
2024-03-31 10:53:37 +02:00
2024-07-29 13:03:09 +02:00
2023-12-10 18:10:54 +01:00
2024-07-29 13:03:09 +02:00
2024-07-17 14:52:17 +02:00
2024-08-07 17:09:30 +02:00
2024-07-22 17:36:31 +02:00

Run yarn dev while server running on port 3000