Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

DECODE-URL is thrown off-track by certain characters in host/path #1334

Closed
Siskin-Bot opened this issue Feb 15, 2020 · 1 comment
Closed
Labels

Comments

@Siskin-Bot
Copy link
Collaborator

Submitted by: meijeru

See examples. A space in the host/path string functions as separator between host and path, whereas a ! sign is ignored together with all that follows.

>> decode-url to-url "ftp://a b"
== [scheme: 'ftp host: "a" path: " b"]
>> decode-url ftp://a!b
== [scheme: 'ftp host: "a"]

Imported from: CureCode [ Version: alpha 94 Type: Bug Platform: All Category: Mezzanine Reproduce: Always Fixed-in:none ]
Imported from: metaeducation#1334

Comments:


Rebolbot added the Type.bug on Jan 12, 2016


@Oldes Oldes added Test.written Oldes.resolved Bugs/wishes with Oldes' fixes/features Datatype: url! labels Apr 14, 2022
@Oldes
Copy link
Owner

Oldes commented Apr 14, 2022

Now:

>> decode-url to-url "ftp://a b"
== [scheme: 'ftp host: "a b"]

>> decode-url ftp://a!b
== [scheme: 'ftp host: "a!b"]

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants