Verify index.gmi on folder location (isGemtext) #2

Open
opened 2021-05-08 16:07:15 +02:00 by rdelaage · 1 comment
Owner

For the moment we only verify if the path ends with .gmi we must also verify index.gmi if the path is a folder

For the moment we only verify if the path ends with `.gmi` we must also verify `index.gmi` if the path is a folder
rdelaage added this to the Release 1.0 milestone 2021-05-08 16:07:15 +02:00
rdelaage self-assigned this 2021-05-08 16:07:15 +02:00
Author
Owner

We could start to verify if file exist in fileSystem then if it is a dir and if not verify ext if yes verify index.gmi exists in this file, put warning on error

(how the program should handle the lack of tailing slash ? redirect in gemini protocol)

we have to think to merge path before verifying

We could start to verify if file exist in fileSystem then if it is a dir and if not verify ext if yes verify index.gmi exists in this file, put warning on error (how the program should handle the lack of tailing slash ? redirect in gemini protocol) we have to think to merge path before verifying
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Gemini/gpubValidator#2
No description provided.