File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,8 @@ def _convert_email_uri(email):
211
211
to create a URI that contains an email address that, when submitted to a
212
212
server, will not be replaced with a space character.
213
213
"""
214
- if "+" in email :
215
- return email .replace ("+" , "%2B" )
216
- else :
217
- return email
214
+ if email is not None :
215
+ if "+" in email :
216
+ return email .replace ("+" , "%2B" )
217
+
218
+ return email
Original file line number Diff line number Diff line change 24
24
app = Flask (__name__ )
25
25
26
26
# Application version (major,minor,patch-level)
27
- version = "1.1.4 "
27
+ version = "1.1.5 "
28
28
29
29
"""
30
30
Change Log
31
31
32
+ 1.1.5 Refactor _convert_email_uri(email) to properly handle a null
33
+ email address.
34
+
32
35
1.1.4 Add code to convert plus signs located the the username portion
33
36
of an email address to a '%2B'when the email address is embedded
34
37
in a URL.
You can’t perform that action at this time.
0 commit comments