Skip to content

Commit 7e2e0b5

Browse files
author
Adam Tuttle
committed
Merge pull request #303 from evagoras/master
#301
2 parents ab8c324 + f49b419 commit 7e2e0b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/api.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,7 @@
13581358
<cfset local.credentials.password = "" />
13591359
<cftry>
13601360
<cfset local.encodedCredentials = ListLast( GetPageContext().getRequest().getHeader("Authorization"), " " ) />
1361-
<cfset local.decodedCredentials = toString( toBinary( local.EncodedCredentials ) ) />
1361+
<cfset local.decodedCredentials = toString( toBinary( local.EncodedCredentials ), "iso-8859-1" ) />
13621362
<cfset local.credentials.username = listFirst( local.decodedCredentials, ":" ) />
13631363
<cfset local.credentials.password = listRest( local.decodedCredentials, ":" ) />
13641364
<cfcatch></cfcatch>

0 commit comments

Comments
 (0)