Shivaram Lingamneni
af2b433195
validate normalized masks as IRC params
3 년 전
Shivaram Lingamneni
4b2a094921
fix #1327
3 년 전
Shivaram Lingamneni
8f778c57a3
test more string cases
4 년 전
Shivaram Lingamneni
4391b1ba5a
restrict ASCII mode to printable characters only
4 년 전
Shivaram Lingamneni
781bb6b051
more systematic bad-character check in permissive mode
4 년 전
Shivaram Lingamneni
2d4dbeba1c
disallow some bad characters in foldPermissive
4 년 전
Shivaram Lingamneni
91d6888b7e
fix #693
4 년 전
Shivaram Lingamneni
baa71ba2be
remove unnecessary special-casing for ASCII
4 년 전
Shivaram Lingamneni
332f0d8d91
fix #644
4 년 전
Shivaram Lingamneni
938ce7e435
fix #331
5 년 전
Shivaram Lingamneni
24c46235a3
remove m -> rn skeleton mapping again
5 년 전
Shivaram Lingamneni
b075ea6eb9
use regular Skeleton instead of SkeletonTweaked
dan: "I probably wouldn't expect those mappings to cause much
trouble at all for legitimate users at the end of the day"
shivaram: [concurs]
5 년 전
Shivaram Lingamneni
6e9a31a574
use confusables.SkeletonTweaked to fix the test
5 년 전
Shivaram Lingamneni
f17777995b
add a new test
5 년 전
Shivaram Lingamneni
be4d098945
fix an edge case in skeletonization
'm' skeletonizes to 'rn' (but is exempted by the isBoring check),
but the fullwidth 'm' does not skeletonize to anything. The root cause
of this is the (still unexplained) patchiness of the skeleton mapping
for fullwidth -> standard-width Latin characters; the fix is to perform
width mapping first, before either skeletonization or isBoring.
5 년 전
Daniel Oaks
8cd5db1194
Restrict idents as other servers do
5 년 전
Shivaram Lingamneni
c34d9e0b72
more lenient casefolding for skeletons
5 년 전
Shivaram Lingamneni
b9b2553a2f
use the TR39 skeleton algorithm to prevent confusables (#178)
5 년 전
Shivaram Lingamneni
92eca4d795
add more test cases
5 년 전
Shivaram Lingamneni
40e63dbbe8
fix #306
Fix spurious bidi rule violations in casefolding channel names
by stripping the # before starting the casefolding.
5 년 전
Daniel Oaks
ac91a3e484
strings: Follow latest advice on PRECIS regarding string stabilizing
6 년 전
Euan Kemp
449ef4cea1
strings: disallow ':' in nicks
This matches the behavior of inspircd at the very least.
Previously, the comment above that section claimed ':' should be
disallowed, but the code didn't do so.
I also simplified the code a little bit and added tests.
7 년 전