Avoid infinite loop while checking gemtext content #1

Open
opened 1 year ago by rdelaage · 0 comments
rdelaage commented 1 year ago
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 1 year ago
rdelaage added this to the Release 1.0 milestone 1 year ago
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.