[webkit-reviews] review granted: [Bug 172869] Prevent scheme handlers from handling all built-in URL schemes : [Attachment 311860] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 2 14:47:37 PDT 2017


Andy Estes <aestes at apple.com> has granted Brady Eidson <beidson at apple.com>'s
request for review:
Bug 172869: Prevent scheme handlers from handling all built-in URL schemes
https://bugs.webkit.org/show_bug.cgi?id=172869

Attachment 311860: Patch

https://bugs.webkit.org/attachment.cgi?id=311860&action=review




--- Comment #2 from Andy Estes <aestes at apple.com> ---
Comment on attachment 311860
  --> https://bugs.webkit.org/attachment.cgi?id=311860
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=311860&action=review

> Source/WebCore/platform/SchemeRegistry.cpp:63
> +	   // Other misc schemes that the SchemeRegistry doesn't know about.
> +	   schemes.get().add("webkit-fake-url");
> +#if PLATFORM(MAC)
> +	   schemes.get().add("safari-extension");
> +#endif

There's also x-apple-ql-id (QLPreviewProtocol()) and x-apple-content-filter
(ContentFilter::urlScheme()).


More information about the webkit-reviews mailing list