From 4822c7833e2c8a1fc67aa91600fe2dadc72ea08a Mon Sep 17 00:00:00 2001 From: "matthias.risze@9f2c8f7faed4cac1905d1bf1ee4524d708c13688" Date: Wed, 4 Jan 2023 11:56:35 +0000 Subject: [PATCH] Added a comment: Limitations on allowed characters in and length of URLs --- .../comment_13_f413cc1febfa70e3ad885c6fa031a209._comment | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/git-annex-addurl/comment_13_f413cc1febfa70e3ad885c6fa031a209._comment diff --git a/doc/git-annex-addurl/comment_13_f413cc1febfa70e3ad885c6fa031a209._comment b/doc/git-annex-addurl/comment_13_f413cc1febfa70e3ad885c6fa031a209._comment new file mode 100644 index 0000000000..270b0ed7a5 --- /dev/null +++ b/doc/git-annex-addurl/comment_13_f413cc1febfa70e3ad885c6fa031a209._comment @@ -0,0 +1,9 @@ +[[!comment format=mdwn + username="matthias.risze@9f2c8f7faed4cac1905d1bf1ee4524d708c13688" + nickname="matthias.risze" + avatar="http://cdn.libravatar.org/avatar/c9f7f022a1d62c39497b72c56a6a535e" + subject="Limitations on allowed characters in and length of URLs" + date="2023-01-04T11:56:35Z" + content=""" +Are there any limitations on which characters are allowed in an URL, and on how long an URL can be? I am working on a special remote which kind of abuses this feature by saving information about how to get the file in the URL with a specific scheme. For now it seems like I can use URLs of the form `scheme:`, but I am not sure if this might become an issue later. I could also encode the data with base64 or something similar, in which case size limitations would still be relevant; if there are any. Although, the json variant has the added benefit of being much more easily readable in whereis output. +"""]]