Skip to content
  • trey's avatar
    WebKit: · 38b5508b
    trey authored
    	3143294 - need short-term bulletproofing of download code against bad filenames
    
    	We protect against a download location that is not an absolute path.
    
            Reviewed by Darin
    
            * WebView.subproj/WebMainResourceClient.m:
            (-[WebMainResourceClient continueAfterContentPolicy:response:]):
    	Bail on download if we don't have a abs path to write to.
    
    WebBrowser:
    
    	3143294 - need short-term bulletproofing of download code against bad filenames
    
    	We protect against slashes and leading periods, as well as handling empty filenames.
    
            Reviewed by Darin
    
            * BrowserWebController.m:
            (-[BrowserWebController saveFilenameForResponse:andRequest:]):
    	Check results of [response filename] carefully
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3287 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    38b5508b