diff --git a/packages/router/src/encoding.ts b/packages/router/src/encoding.ts index e46707080..69b338a65 100644 --- a/packages/router/src/encoding.ts +++ b/packages/router/src/encoding.ts @@ -1,8 +1,10 @@ import { warn } from './warning' /** - * Encoding Rules ␣ = Space Path: ␣ " < > # ? { } Query: ␣ " < > # & = Hash: ␣ " - * < > ` + * Encoding Rules (␣ = Space) + * - Path: ␣ " < > # ? { } + * - Query: ␣ " < > # & = + * - Hash: ␣ " < > ` * * On top of that, the RFC3986 (https://tools.ietf.org/html/rfc3986#section-2.2) * defines some extra characters to be encoded. Most browsers do not encode them