this post was submitted on 15 Jun 2023
113 points (100.0% liked)
/kbin meta
16 readers
2 users here now
Magazine dedicated to discussions about the kbin itself. Provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics. ---- * Roadmap 2023 * m/kbinDevlog * m/kbinDesign
founded 1 year ago
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The regex for your community in options.html should be
^([a-zA-Z0-9\-ßàÁâãóôþüúðæåïçèõöÿýòäœêëìíøùîûñé]{1,63}\.)+[a-zA-Z]{2,63}$
Not sure if there’s some issue I can’t think of, but it probably can even be simplified to
^([\w-]{1,63}\.)+[a-zA-Z]{2,63}$
The current one, for example, doesn’t allow subdomain instances like kbin.example.org I already created a PR for the first version for the lemmy extension, but maybe someone can say why the simpler version would/wouldn’t be okay ;)
I'll check it out soon!