Skip to content

Commit 0645705

Browse files
authored
Merge pull request #236 from JPRuskin/patch-1
Update Steam OpenID Regex to handle HTTPS
2 parents 900c80a + 35ea1c9 commit 0645705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Owin.Security.Providers.Steam/SteamAuthenticationHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Owin.Security.Providers.Steam
1010
{
1111
internal sealed class SteamAuthenticationHandler : OpenIDAuthenticationHandlerBase<SteamAuthenticationOptions>
1212
{
13-
private readonly Regex _accountIDRegex = new Regex(@"^http://steamcommunity\.com/openid/id/(7[0-9]{15,25})$", RegexOptions.Compiled);
13+
private readonly Regex _accountIDRegex = new Regex(@"^https?://steamcommunity\.com/openid/id/(7[0-9]{15,25})$", RegexOptions.Compiled);
1414

1515
private const string UserInfoUri = "http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key={0}&steamids={1}";
1616

0 commit comments

Comments
 (0)