Avoid infinite loop while checking gemtext content #1

Open
opened 2021-05-06 17:12:02 +02:00 by rdelaage · 0 comments
Owner

For the moment, we can face infinite loop because of the recursive content checker. If a file (A) link another file (B) and B link A there is an infinite loop. We must first verify A, keep the result in a cache (map[string]bool) then verify all gemtext linked in A and return if the result is false for one of them.

For the moment, we can face infinite loop because of the recursive content checker. If a file (A) link another file (B) and B link A there is an infinite loop. We must first verify A, keep the result in a cache (`map[string]bool`) then verify all gemtext linked in A and return if the result is false for one of them.
rdelaage self-assigned this 2021-05-06 17:12:19 +02:00
rdelaage added this to the Release 1.0 milestone 2021-05-06 17:13:47 +02:00
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#1
No description provided.