diff options
author | Florian Dold <florian.dold@gmail.com> | 2015-12-10 17:44:08 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2015-12-10 17:44:08 +0100 |
commit | f3d6a0f46238e918e383bca15c76ad96a2c1f50a (patch) | |
tree | b5b675258c5182cfe2f9aa919a000b03784dda5e /wallet.rst | |
parent | a41b6cb04d4bd18c8a1e1eb54999dfe2e9c5331f (diff) | |
download | docs-f3d6a0f46238e918e383bca15c76ad96a2c1f50a.tar.gz docs-f3d6a0f46238e918e383bca15c76ad96a2c1f50a.tar.bz2 docs-f3d6a0f46238e918e383bca15c76ad96a2c1f50a.zip |
Rationale for canonical base URLs.
Diffstat (limited to 'wallet.rst')
-rw-r--r-- | wallet.rst | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -27,6 +27,10 @@ When a user enters a URL that is, technically, relative (such as "alice.example. *may* transform it into a canonical base URL ("http://alice.example.com/mint/"). Other components *should not* accept URLs that are not canonical. +Rationale: Joining non-canonical URLs with relative URLs (e.g. "mint.example.com" with "reserve/status") +results in different and slightly unexpected behavior in some URL handling libraries. +Canonical URLs give more predictable results with standard URL joining. + -------------------- Browser based wallet -------------------- |