Skip to content

Uri.removeFragment() corrupts URIs #24593

@nex3

Description

@nex3

If I run Uri.parse("foo:bar#baz").removeFragment().toString(), I get "foo://:0bar?", where I'd just expect "foo:bar". This is particularly problematic for working with data: URIs, which aren't at all structured like typical hierarchical URIs and whose fragments must be ignored.

Metadata

Metadata

Assignees

Labels

area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.library-core

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions