diff options
author | Omar Polo <op@omarpolo.com> | 2020-12-26 00:33:11 +0100 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2020-12-26 00:33:11 +0100 |
commit | df6ca41da36c3f617cbbf3302ab120721ebfcfd2 (patch) | |
tree | eb0d8da6e94702a2c4ee636ec9a739a8be7b4817 /gmid.1 | |
parent | 043acc97b16be18d85bb1914da50f7ce2aa2623e (diff) |
IRI support
This extends the URI parser so it supports full IRI (Internationalized
Resource Identifiers, RFC3987). Some areas of it can/may be improved,
but here's a start.
Note: we assume UTF-8 encoded IRI.
Diffstat (limited to 'gmid.1')
-rw-r--r-- | gmid.1 | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -33,11 +33,8 @@ is a very simple and minimal gemini server that can serve static files and execute CGI scripts. .Pp .Nm -will strip any sequence of -.Pa ../ -or trailing -.Pa .. -in the requests made by clients and will refuse to follow symlinks. +won't serve files outside the given directory and won't follow +symlinks. Furthermore, on .Ox , .Xr pledge 2 @@ -48,6 +45,10 @@ are used to ensure that dosen't do anything else than read files from the given directory, accept network connections and, optionally, execute CGI scripts. .Pp +.Nm +fully supports IRIs (Internationalized Resource Identifiers, see +RFC3987). +.Pp It should be noted that .Nm is very simple in its implementation, and so it may not be appropriate |