[PATCH 0/1] MR7418: wininet: Treat Expires value "-1" the same as "0"
In iis server, use -1 to specify immediate expiration. For detailed documentation, please refer to: https://learn.microsoft.com/en-us/previous-versions/iis/6.0-sdk/ms525906(v=v...) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7418
From: YongjieYao <yaoyongjie(a)uniontech.com> In iis server, use -1 to specify immediate expiration. For detailed documentation, please refer to: https://learn.microsoft.com/en-us/previous-versions/iis/6.0-sdk/ms525906(v=v...) --- dlls/wininet/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 48bfe35866a..7d5862d3f07 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -4740,7 +4740,7 @@ static BOOL HTTP_ParseDate(LPCWSTR value, FILETIME *ft) { BOOL ret; - if (!wcscmp(value, L"0")) + if (!wcscmp(value, L"0") || !wcscmp(value, L"-1")) { ft->dwLowDateTime = ft->dwHighDateTime = 0; ret = TRUE; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7418
You should've updated !7323 instead of closing that MR -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7418#note_95839
On Tue Feb 25 07:58:45 2025 +0000, Aida Jonikienė wrote:
You should've updated !7323 instead of closing that MR Oh, sorry, what should I do now ? Should I reopen !7323 and update it or just keep !7418 ? Which method is better ?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7418#note_95843
On Tue Feb 25 07:58:45 2025 +0000, Yongjie Yao wrote:
Oh, sorry, what should I do now ? Should I reopen !7323 and update it or just keep !7418 ? Which method is better ? I guess the former approach is better if the newer MR could be deleted (but if it couldn't, then either way is basically identical)
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7418#note_95844
On Tue Feb 25 08:01:03 2025 +0000, Aida Jonikienė wrote:
I guess the former approach is better if the newer MR could be deleted (but if it couldn't, then either way is basically identical) Ok, thank you, I try it.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7418#note_95845
Yeah, let's keep in in that MR. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7418#note_95884
This merge request was closed by Jacek Caban. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7418
participants (4)
-
Aida Jonikienė -
Jacek Caban (@jacek) -
Yongjie Yao (@yaoyongjie) -
YongjieYao