[Webkit-unassigned] [Bug 158485] New: [iOS WK1] Remove unused -_webkit_unescapedQueryValue and -_webkit_queryKeysAndValues NSString category methods
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 7 10:51:06 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=158485
Bug ID: 158485
Summary: [iOS WK1] Remove unused -_webkit_unescapedQueryValue
and -_webkit_queryKeysAndValues NSString category
methods
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ddkilzer at webkit.org
CC: aestes at apple.com, bfulgham at webkit.org
The -_webkit_unescapedQueryValue and -_webkit_queryKeysAndValues NSString category methods are no longer used in WebKit, and the implementation of -_webkit_queryKeysAndValues is buggy since it can't handle multiple values with the same key.
Instead you should create an NSURLComponents object, and call -queryItems to get the list of key-value pairs:
<https://developer.apple.com/library/ios/documentation/Foundation/Reference/NSURLComponents_class/index.html#//apple_ref/occ/instp/NSURLComponents/queryItems>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160607/cd2397fc/attachment.html>
More information about the webkit-unassigned
mailing list