JuliaWeb / JuliaWeb/URIParser.jl

Support for multiple `@` characters

Open
#66 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
17
Forks
28
PR merge metrics
No merged PRs in 30d

Description

X-Reference from [FTPClient.jl](https://github.com/invenia/FTPClient.jl/issues/88)

When using multiple `@` characters URIParser fails with various errors depending on the amount of `@` characters passed in.

Examples:

```julia
using URIParser

URI("ftp://user@example.com:password@example.com")

> ERROR: Port must be numeric (decimal)
```

```julia
using URIParser

URI("ftp://user@example.com:p@ssword@example.com")

> ERROR: Port must be numeric (decimal)
```

```julia
using URIParser

URI("ftp://user:p@ssword@example.com")

> ERROR: Unexpected character '@' in host
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.