Questions tagged [rfc3986]

A RFC entitled "Uniform Resource Identifier (URI): Generic Syntax"

See for more details on RFC

RFC 3986 was released in January 2005.

It supersedes RFC 2732, RFC 2396 and RFC 1808.

Note however the current URL Standard at https://url.spec.whatwg.org/ has among its goals:

Align RFC 3986 and RFC 3987 with contemporary implementations and obsolete them in the process. (E.g., spaces, other "illegal" code points, query encoding, equality, canonicalization, are all concepts not entirely shared, or defined.)

Resources:

55 questions
0
votes
2 answers

What character can be used instead of / to separate URL path?

In a URL, according to this syntax, I want to use a different delimiter for separating path in a URL. For example: In this URL https://en.wikipedia.org/wiki/Uniform_Resource_Identifier#Generic_syntax, I want to separate…
Spam Me
  • 33
  • 4
0
votes
1 answer

HTTP request host value syntax in RFC 3986

RFC 3986 says that Host (I'm writing with a capital, to distinguish it as parameter inside HTTP request) value reg-name has ABNF syntax reg-name = *( unreserved / pct-encoded / sub-delims ), which includes i.e. signs + or !, which as far as I know…
user2544133
0
votes
2 answers

How unescape RFC 3986 string

I've a RFC 3986 encoded string in the form %x##. For example the space character is encoded as %x20 instead of %20. How can I decode it in C#? Using the decode method of Uri, HttpUtility or WebUtility classes the string was not decoded.
Matteo
  • 233
  • 3
  • 18
0
votes
1 answer

malformed uri error when sending json with % character in angularjs

I have read in many pots that malformed URI error is comes due to the fact that angularjs override the encodeURIComponent with encodeUriQuery. Is there any way I can override encodeUriQuery in my controller or component without changing angular…
Sumit
  • 1
0
votes
0 answers

How to make Tomcat support non-RFC7230/ RFC3986 characters in GET parameters?

After upgrading Tomcat version from 7.0 to 8.5, I found if Chinese or Korean characters are included in GET request parameters, tomcat will throw an IllegalArgumentException: Invalid character found in the request target.…
Alpha
  • 1
  • 1
  • 2
0
votes
3 answers

Resolve URI with multiple slashes in relative part

I have to write a script in perl which parses uris from html. Anyway, the real problem is how to resolve relative uris. I have base URI (base href in html) for example http://a/b/c/d;p?q (let's go through rfc3986) and different other URIs: /g, //g,…
Sergius
  • 908
  • 8
  • 20
0
votes
2 answers

URL with hyphen can not open with Android browser

I've met a very strange problem. URL such as http://wei-.x.yupoo.com can be opened with Windows PC, macOS, iOS browser, but not with Android browser, it reports DNS error. Can any one help me to figure out why? I've checked RFC7320 and RFC3986, in…
Daniel Chen
  • 1,933
  • 5
  • 24
  • 33
0
votes
1 answer

Why do we have two delimiters for query parameters?

We all know there are 2 delimiters for query strings. Which are ? and &. Why wouldn't we use just ? for both cases? Why do we need & RFC 3986 gives description of the standard, but does't provide us with motivation on that subject. The query…
dmigo
  • 2,849
  • 4
  • 41
  • 62
0
votes
2 answers

Clarification on URI path component?

According to RFC 3986 Section 3 - Syntax Components: The scheme and path components are required, though the path may be empty (no characters). Can someone clarify how the path component can be required if it's able to be empty? Maybe I'm…
FtDRbwLXw6
  • 27,774
  • 13
  • 70
  • 107
0
votes
1 answer

Is http://mydomain.com/me@mail.com safe to use as URL?

I consider to setup a server to deal with URLs including email address such as http://mydomain.com/me@mail.com According to RFC  3986, I userstand @ is reserved on authority part = //mydomain.com/, but unreserved on path part /......., so…
user1028880
1 2 3
4