Eastern Hemisphere
Just a follower of Jesus who enjoys writing software
From Josias to ~int80h/public-inbox
This uses the method described at gemi.dev to block transversal attacks: it checks to see if the canonical path is within the boundary of the root directory given in config. --- src/con_handler.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/con_handler.rs b/src/con_handler.rs index 33cb604..6866a41 100644 --- a/src/con_handler.rs +++ b/src/con_handler.rs @@ -13,6 +13,8 @@ use crate::revproxy; use crate::status::Status; use crate::util; [message trimmed]
From Josias to ~martijnbraam/public-inbox
--- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index b709638..35db4d0 100644 --- a/main.c +++ b/main.c @@ -1016,7 +1016,7 @@ adventure(size_t pid, char *input) snprintf(buf, sizeof(buf), "\ncommands in this room: press emergency button\n# "); break; case LOC_SECURITY: snprintf(buf, sizeof(buf), "\ncommands in this room: look at monitor\n# "); snprintf(buf, sizeof(buf), "\ncommands in this room: look at monitors\n# ");[message trimmed]
From Josias to ~sircmpwn/email-test-drive
--- josias | 1 + 1 file changed, 1 insertion(+) create mode 100644 josias diff --git a/josias b/josias new file mode 100644 index 0000000..66cb3d4 --- /dev/null +++ b/josias @@ -0,0 +1 @@ -- 2.30.0 I have successfully used git send-email![message trimmed]
From Josias to ~sircmpwn/email-test-drive
--- josias | 1 + 1 file changed, 1 insertion(+) create mode 100644 josias diff --git a/josias b/josias new file mode 100644 index 0000000..6d0ecfd --- /dev/null +++ b/josias @@ -0,0 +1 @@ -- 2.30.0 I'm about to try git send-email[message trimmed]