summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2015-12-10 17:44:08 +0100
committerFlorian Dold <florian.dold@gmail.com>2015-12-10 17:44:08 +0100
commitf3d6a0f46238e918e383bca15c76ad96a2c1f50a (patch)
treeb5b675258c5182cfe2f9aa919a000b03784dda5e
parenta41b6cb04d4bd18c8a1e1eb54999dfe2e9c5331f (diff)
downloaddocs-f3d6a0f46238e918e383bca15c76ad96a2c1f50a.tar.gz
docs-f3d6a0f46238e918e383bca15c76ad96a2c1f50a.tar.bz2
docs-f3d6a0f46238e918e383bca15c76ad96a2c1f50a.zip
Rationale for canonical base URLs.
-rw-r--r--wallet.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/wallet.rst b/wallet.rst
index 836e178e..eaf71c17 100644
--- a/wallet.rst
+++ b/wallet.rst
@@ -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
--------------------