Comments (4)
Also just noticed that this issue only seems to happen in ff. Chrome works as expected
from console.
Relevant discord messages too:
https://discord.com/channels/564160730845151244/1102936099745177700/1125937233636114432
https://discord.com/channels/564160730845151244/1102936099745177700/1123339779627556986
from console.
I think I've narrowed down the problem to this part of the regex
^(?!-)[A-Za-z0-9-]+([\-\.]{1}[a-z0-9]+)*\.[A-Za-z]{2,6}$
^
Any tld longer than 6 characters doesn't get matched. Which works fine except that some tlds are longer than 6 characters as seen with .contractors
. The longest is in fact 24 (XN--VERMGENSBERATUNG-PWB), although it could theorertically be up to 63 characters
The solution would be to bump the limit to either 24 or 63
^(?!-)[A-Za-z0-9-]+([\-\.]{1}[a-z0-9]+)*\.[A-Za-z]{2,63}$
^
Although that actually wouldn't work for all domains since "-" is not included in the filter, so actually adding a dash would allow proper matching of big domains
^(?!-)[A-Za-z0-9-]+([\-\.]{1}[a-z0-9]+)*\.[A-Za-z-]{2,63}$
^
from console.
Closing as a duplicate of appwrite/appwrite#5273
from console.
Related Issues (20)
- 🐛 Bug Report: Cloud Shows Underscores & Period are Allowed Characters for Project IDs HOT 6
- 🐛 Bug Report: Retry Option Shown For Verified Domains HOT 1
- 🐛 Bug Report: Placeholder Shown in the Allowed File Extensions Input HOT 4
- 🐛 Bug Report: null notification when creating a project
- 🐛 Bug Report: Can't close migration modal HOT 1
- 🐛 Bug Report: Cannot Delete Org.
- 🐛 Bug Report: Project creates two times HOT 3
- 🐛 Bug Report: Adding Invalid Domain to Function Doesn't Throw an Error HOT 7
- 🐛 Bug Report: Character count covers "Add item" button HOT 4
- 🐛 Bug Report: Some items in the search dialog don't work HOT 6
- 🐛 Bug Report: Bucket Ui Alignment issue
- 🐛 Bug Report: Organization deletion does not work HOT 2
- Remove support illustration HOT 6
- 🐛 Bug Report: Language indicator can cover wizard footer HOT 1
- 🐛 Bug Report: Scrollbar shows as white in dark mode HOT 8
- 🚀 Enhancement: [Upload] button for Storage File View to update content HOT 3
- 🐛 Bug Report: Tooltip is transparent
- 🐛 Bug Report: Not enough padding for danger cards HOT 3
- 🐛 Bug Report: Filters overlaying in console in database in large screen HOT 1
- 🐛 Bug Report: Typo in Console - functions -> Executions -> limits btn HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from console.