Commit ca6274c 1 parent 776129a commit ca6274c Copy full SHA for ca6274c
File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ pub fn check_token(token: &str) -> Result<()> {
545
545
Ok ( ( ) )
546
546
} else {
547
547
Err ( Error :: InvalidToken (
548
- "token contains invalid characters.\n Only printable ISO-8859-1 characters \
548
+ "token contains invalid characters.\n Only printable ASCII characters \
549
549
are allowed as it is sent in a HTTPS header.",
550
550
) )
551
551
}
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ fn invalid_login_token() {
182
182
183
183
Caused by:
184
184
token contains invalid characters.
185
- Only printable ISO-8859-1 characters are allowed as it is sent in a HTTPS header.
185
+ Only printable ASCII characters are allowed as it is sent in a HTTPS header.
186
186
" ,
187
187
101 ,
188
188
)
Original file line number Diff line number Diff line change @@ -3616,7 +3616,7 @@ fn invalid_token() {
3616
3616
3617
3617
Caused by:
3618
3618
token contains invalid characters.
3619
- Only printable ISO-8859-1 characters are allowed as it is sent in a HTTPS header.
3619
+ Only printable ASCII characters are allowed as it is sent in a HTTPS header.
3620
3620
3621
3621
"# ] ] )
3622
3622
. with_status ( 101 )
You can’t perform that action at this time.
0 commit comments