From 90a84192c1f6dd545b97d44186b7c7ebc86ca2a0 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Fri, 20 Mar 2015 09:23:36 -0500 Subject: [PATCH] Preserve 6 as an unreserved character Closes #9 --- rfc3986/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rfc3986/misc.py b/rfc3986/misc.py index bbb3a54..350ffb9 100644 --- a/rfc3986/misc.py +++ b/rfc3986/misc.py @@ -32,7 +32,7 @@ important_characters = { # We need to escape the '*' in this case 're_sub_delimiters': "!$&'()\*+,;=", 'unreserved_chars': ('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' - '012345789._~-'), + '0123456789._~-'), # We need to escape the '-' in this case: 're_unreserved': 'A-Za-z0-9._~\-', }