Skip to content

[SR-8450] swift-corelibs-foundation: URLComponents/NSURLComponents don't hash correctly #3652

@lorentey

Description

@lorentey
Previous ID SR-8450
Radar None
Original Reporter @lorentey
Type Bug
Status In Progress
Resolution
Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug
Assignee @lorentey
Priority Medium

md5: 8e7a4d82dac22ba67d2c23f61dae1d23

Issue Description:

NSURLComponents inherits hash from NSObject, but overrides isEqual: to compare contents. This also breaks hashing for URLComponents, which calls into NSURLComponents.hash.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions