~josias

Eastern Hemisphere

https://josias.dev

Just a follower of Jesus who enjoys writing software

~josias/public-inbox

Last active 2 years ago
View more

Recent activity

[PATCH gemserv v2] Block transversal attacks 11 months ago

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]

[PATCH among-sus] Fix help text for "look at monitors" 1 year, 4 months ago

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]

[PATCH v2] Demonstrate that I can use git send-email 1 year, 11 months ago

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 @@
I have successfully used git send-email!
-- 
2.30.0
[message trimmed]

[PATCH] Demonstrate that I can use git send-email 1 year, 11 months ago

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 @@
I'm about to try git send-email
-- 
2.30.0
[message trimmed]