Reviewed by cblu
authorkdecker <kdecker@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Jul 2005 23:06:10 +0000 (23:06 +0000)
committerkdecker <kdecker@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Jul 2005 23:06:10 +0000 (23:06 +0000)
commitc0cc389309bad7f5ce320ebf848f1e17638d1c95
tree3b9c4ef4d5e4669acd5086d12175bec5c686264a
parent59cc7b651589641a44f553926d90eb9063e529f1
    Reviewed by cblu

Fixed: <rdar://problem/4122282> clicking a link in an PDF file opens the link with NSWorkspace without the usual security checks or WebView delegate control

        * WebView.subproj/WebFrame.m:
        (-[WebFrame _safeLoadURL:]): added
        * WebView.subproj/WebFrameInternal.h:
        * WebView.subproj/WebPDFView.m:
        (-[WebPDFView initWithFrame:]):
        (-[WebPDFView PDFViewWillClickOnLink:withURL:]): prevents evilness with a call to _safeLoadURL
        * WebView.subproj/WebTextView.m:
        (-[WebTextView clickedOnLink:atIndex:]): factored calling out to the bridge, and instead call _safeLoadURL

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/WebView.subproj/WebFrame.m
WebKit/WebView.subproj/WebFrameInternal.h
WebKit/WebView.subproj/WebPDFView.m
WebKit/WebView.subproj/WebTextView.m