-
darin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=30178 rdar://problem/6544670 Patch by Darin Adler <darin@apple.com> on 2009-10-07 Reviewed by John Sullivan. * Misc/WebNSFileManagerExtras.m: (-[NSFileManager _webkit_setMetadataURL:referrer:atPath:]): Call _web_URLByRemovingUserInfo on the passed in URL string after converting it to a URL, and then convert it back to a string. * Misc/WebNSURLExtras.h: Added _web_URLByRemovingUserInfo. * Misc/WebNSURLExtras.mm: Removed unused WebKitURLComponents struct. (-[NSURL _web_URLByTruncatingOneCharacterBeforeComponent:]): Renamed to be clearer on what this does. (-[NSURL _webkit_URLByRemovingFragment]): Changed to call new name. (-[NSURL _webkit_URLByRemovingResourceSpecifier]): Ditto. (-[NSURL _web_URLByRemovingComponentAndSubsequentCharacter:]): Added. (-[NSURL _web_URLByRemovingUserInfo]): Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49273 268f45cc-cd09-0410-ab3c-d52691b4dbfc
darin@apple.com authoredhttps://bugs.webkit.org/show_bug.cgi?id=30178 rdar://problem/6544670 Patch by Darin Adler <darin@apple.com> on 2009-10-07 Reviewed by John Sullivan. * Misc/WebNSFileManagerExtras.m: (-[NSFileManager _webkit_setMetadataURL:referrer:atPath:]): Call _web_URLByRemovingUserInfo on the passed in URL string after converting it to a URL, and then convert it back to a string. * Misc/WebNSURLExtras.h: Added _web_URLByRemovingUserInfo. * Misc/WebNSURLExtras.mm: Removed unused WebKitURLComponents struct. (-[NSURL _web_URLByTruncatingOneCharacterBeforeComponent:]): Renamed to be clearer on what this does. (-[NSURL _webkit_URLByRemovingFragment]): Changed to call new name. (-[NSURL _webkit_URLByRemovingResourceSpecifier]): Ditto. (-[NSURL _web_URLByRemovingComponentAndSubsequentCharacter:]): Added. (-[NSURL _web_URLByRemovingUserInfo]): Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49273 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Loading