Diff: [root] @ aaa7458a84f | faq | css

Fixed regexes

File: hellnet/tech/URIs/chunk [Diff]

diff --git a/hellnet/tech/URIs/chunk b/hellnet/tech/URIs/chunk
index 73467c0..5d85b9b 100644
-- a/hellnet/tech/URIs/chunk
++ b/hellnet/tech/URIs/chunk
@@ -2,7 +2,7 @@ h1. Chunk hell:// URIs

h2. Regex

^hell://chunk/([0-9a-f]{64})$

@^hell://chunk/([0-9a-f]{64})$@

$1: chunk hash

@@ -13,4 +13,4 @@ key: hex number, symmetric encryption key

h2. How it works

\ No newline at end of file
Searches for chunk with hash=$1, then downloads it. Name is received from "name" parameter, otherwise $1(.key) may be used.
\ No newline at end of file

File: hellnet/tech/URIs/file [Diff]

diff --git a/hellnet/tech/URIs/file b/hellnet/tech/URIs/file
index a0dbf96..72a11a4 100644
-- a/hellnet/tech/URIs/file
++ b/hellnet/tech/URIs/file
@@ -2,7 +2,7 @@ h1. File hell:// URIs

h2. Regex

^hell://file/([0-9a-f]{64})$

@^hell://file/([0-9a-f]{64})$@

$1: chunk hash

@@ -13,4 +13,4 @@ key: hex number, symmetric encryption key

h2. How it works

\ No newline at end of file
Searches for chunk with hash=$1, then unrolls it as [[../recursive-filelinks|recursive filelink]] and downloads the file. Name is received from "name" parameter, otherwise $1(.key) may be taken.
\ No newline at end of file

File: hellnet/tech/URIs/meta [Diff]

diff --git a/hellnet/tech/URIs/meta b/hellnet/tech/URIs/meta
index 3c8792d..93be4b4 100644
-- a/hellnet/tech/URIs/meta
++ b/hellnet/tech/URIs/meta
@@ -2,7 +2,7 @@ h1. Meta hell:// URIs

h2. Regex

^hell://meta/([0-9a-f]{64})/([^/]+)/(.*)$

@^hell://meta/([0-9a-f]{64})/([^/]+)/(.*)$@

$1: public key hash
$2: meta name
@@ -19,4 +19,4 @@ When updating, client should first check the date; if it's bigger than his curre
h2. See also

* [[../../protocols/http/meta|meta resource]]
* [[../metatrees]]
\ No newline at end of file
* [[../metatrees]]

By Voker57 on 2009-12-31 13:32:31 +0300 Powered by bitcheese wiki engine