Erik Dubbelboer
|
6b8b49f49d
|
Do simple prechecks to avoid heap allocations
|
2015-08-13 04:50:02 +00:00 |
Rafael Dantas Justo
|
7ed808b59f
|
Avoid rune overflow when converting to unicode
|
2015-08-10 08:57:07 -03:00 |
Miek Gieben
|
e220dd92fd
|
Add test the crashes idn.
|
2015-08-10 07:36:10 +01:00 |
Rafael Dantas Justo
|
0ec31bb825
|
encode function should return nil when an invalid character is detected and
ToPunycode function should return an empty string when there's an invalid
domain name
|
2015-07-16 13:02:51 -03:00 |
Rafael Dantas Justo
|
340d862d2f
|
check label for invalid code points according to RFC 5892, appendix B.1
|
2015-07-15 15:13:19 -03:00 |
Alex Sergeyev
|
3373659843
|
Addressed #198, correct decoding should only look at last separator.
|
2015-04-03 23:49:35 -04:00 |
Alex Sergeyev
|
c37add8d9e
|
Prevented crash on empty string to our funcs +...
* changed encodeBytes to encode and decodeBytes to decode
* fixed few comments
|
2014-09-15 09:02:51 -04:00 |
Alex Sergeyev
|
950dac05e5
|
Changed label splitting and fixed behavior for final period in names.
|
2014-09-15 08:23:08 -04:00 |
Alex Sergeyev
|
61db5487dd
|
Updated Punycode funcs
* docstrings
* changes to handling invalid punycode names
* updated tests
|
2014-09-13 22:11:53 -04:00 |
Alex Sergeyev
|
a906600891
|
Moved things to subdir and adding functions to convert strings.
|
2014-09-12 07:52:33 -04:00 |