summaryrefslogtreecommitdiff
path: root/lisp/net/puny.el
diff options
context:
space:
mode:
authorF. Jason Park <jp@neverwas.me>2021-03-01 14:04:39 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-03-01 14:05:36 +0100
commiteb2a1e1d6c813156cbaa835bde29499f7605ea08 (patch)
tree117e56c2f45850cd56ef424fe1b05e2063b0e476 /lisp/net/puny.el
parent5684f7995d07496fea4c38133dda81ee93ec9948 (diff)
downloademacs-eb2a1e1d6c813156cbaa835bde29499f7605ea08.tar.gz
Fix Bootstring skew parameter in puny.el
* lisp/net/puny.el: change puny-skew to match value given in RFC3492. * test/lisp/net/puny-tests.el (puny-test-encode-domain) (puny-test-decode-domain): add regression case for popular domain. (bug#46838).
Diffstat (limited to 'lisp/net/puny.el')
-rw-r--r--lisp/net/puny.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/puny.el b/lisp/net/puny.el
index 6b3663a5fb2..1cdefc08f02 100644
--- a/lisp/net/puny.el
+++ b/lisp/net/puny.el
@@ -75,7 +75,7 @@ For instance \"xn--bcher-kva\" => \"bücher\"."
(defconst puny-damp 700)
(defconst puny-tmin 1)
(defconst puny-tmax 26)
-(defconst puny-skew 28)
+(defconst puny-skew 38)
;; 0-25 a-z
;; 26-36 0-9