feat(test): add get index test

This commit is contained in:
2026-03-12 01:11:28 +01:00
parent 5283750095
commit b747124b9c
5 changed files with 75 additions and 8 deletions
+1
View File
@@ -5,6 +5,7 @@
#include <sys/stat.h>
/* Sanitize and resolve file path */
/* TODO: fix path traversal */
static string_s *resolve_file_path(const char *url_path, cws_handler_config_s *config) {
string_s *full_path = string_new(config->root, 256);