Skip to content

std::net::url's encode and decode should be pure #3782

Closed
@erickt

Description

@erickt
Contributor

Right now std::net::url::encode_component is pure, and has to use an unsafe to call std::net::url::encode. We should make that and std::net::url::decode pure. If we don't want to cheat with unsafe blocks, this is blocked on #3758 and #3722.

Activity

added 2 commits that reference this issue on Nov 17, 2012
e0805cb
7720531
added a commit that references this issue on Nov 18, 2012
15989ec
added a commit that references this issue on Aug 5, 2024

Auto merge of rust-lang#3782 - RalfJung:josh-roundtrip-error, r=RalfJung

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @erickt@brson

        Issue actions

          std::net::url's encode and decode should be pure · Issue #3782 · rust-lang/rust