RESOLVED FIXED Bug 44865
REGRESSION (r66156): Sites using AppleConnect for authentication fail to log in.
https://bugs.webkit.org/show_bug.cgi?id=44865
Summary REGRESSION (r66156): Sites using AppleConnect for authentication fail to log in.
Andy Estes
Reported 2010-08-30 04:09:45 PDT
REGRESSION (r66156): Sites using AppleConnect for authentication fail to log in.
Attachments
Patch (1.94 KB, patch)
2010-08-30 04:17 PDT, Andy Estes
no flags
Patch (3.70 KB, patch)
2010-08-30 17:01 PDT, Andy Estes
darin: review+
Andy Estes
Comment 1 2010-08-30 04:17:42 PDT
Andy Estes
Comment 2 2010-08-30 04:18:59 PDT
Darin Adler
Comment 3 2010-08-30 10:31:24 PDT
Comment on attachment 65904 [details] Patch > + bool forceFallback = frame->settings()->needsSiteSpecificQuirks() && document()->url().host() == "wdg2.apple.com"; If you put this into an inline function rather than a boolean local variable then you would not be evaluating it if beforeLoadAllowedLoad is true. In the current code you always evaluate this, even if you don't use its result. I think this needs a "why" comment in the code. It can be a brief one. Is there a guarantee that frame->settings() can't be 0? What if we are in a frame after it is no longer connected to a page? Then frame->settings() will be 0. Are we guaranteed safe from that? Seems OK, r=me
Andy Estes
Comment 4 2010-08-30 17:01:09 PDT
Andy Estes
Comment 5 2010-08-30 17:02:25 PDT
Darin, based on our conversation this morning, here is an updated patch that keys off the plug-in MIME type rather than the URL and works by lower-casing the plug-in parameters rather than falling back to the embed.
Darin Adler
Comment 6 2010-08-30 17:40:02 PDT
Comment on attachment 65980 [details] Patch > + if (frame && frame->settings()->needsSiteSpecificQuirks() && mimeType == "application/x-snkp") { Since MIME types are not case sensitive it would be better to use equalIgnoringCase. You’ll also need to update StringsNotToBeLocalized.txt to add this new non-localized string.
Andy Estes
Comment 7 2010-08-30 18:02:30 PDT
Note You need to log in before you can comment on or make changes to this bug.