== Information == This small program generates html queries to files in a safe fashion mainly intended to be used by the saferet2 program. It accepts a list of paths on stdin and prints their html link representation in a query format. If the file does not exists, the program prints nothing for that entry. Example: $ echo "dirname/filename" | dir2safequery -t target.cgi filename It is intended to generate a static html file that calls the relevant cgi script to pass these parsed parameters to saferet2, which retrives the given file from the given directory in a safe fashion without interpreting any path-related expansions. == Installation == Ensure you have dune installed opam install dune The run the following: dune build dune install .