We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 193cf5f commit f8e9977Copy full SHA for f8e9977
css-reports/report.py
@@ -35,7 +35,7 @@ async def get_msl_context(
35
"""Get the required context headers, data and cookies to make a request to MSL."""
36
37
BASE_COOKIES: Mapping[str, str] = {
38
- ".ASPXAUTH": auth_cookie,
+ ".AspNet.SharedCookie": auth_cookie,
39
}
40
41
data_fields: dict[str, str] = {}
@@ -60,7 +60,7 @@ async def get_msl_context(
60
cookie_morsel: Morsel[str] | None = field_data.cookies.get(cookie)
61
if cookie_morsel is not None:
62
cookies[cookie] = cookie_morsel.value
63
- cookies[".ASPXAUTH"] = auth_cookie
+ cookies[".AspNet.SharedCookie"] = auth_cookie
64
65
if "Login" in data_response.title.string: # type: ignore[union-attr, operator]
66
print("Redirected to login page!")
0 commit comments