[GH-ISSUE #86] Bug: New note with ':' causes failure #74

Closed
opened 2026-03-02 11:46:19 +03:00 by kerem · 3 comments
Owner

Originally created by @derekslenk on GitHub (Apr 5, 2024).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/86

Noticed this when pasting a key:value pair into a note. It appears that anything with a : cause the note to try and use it as a URL, and when it finally gives up (Crawling job failed: {}) it just shows: Failed to fetch link content ...

When trying to open the note, it tries to browse to key:value in my browser.

Originally created by @derekslenk on GitHub (Apr 5, 2024). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/86 Noticed this when pasting a key:value pair into a note. It appears that anything with a `:` cause the note to try and use it as a URL, and when it finally gives up (`Crawling job failed: {}`) it just shows: `Failed to fetch link content ...` When trying to open the note, it tries to browse to key:value in my browser.
kerem 2026-03-02 11:46:19 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MohamedBassem commented on GitHub (Apr 5, 2024):

Oh that's a good catch. I think I'll enforce that URLs must have a protocol in them (e.g. https:// or http://) for them to be considered as URLs I guess.

<!-- gh-comment-id:2040765411 --> @MohamedBassem commented on GitHub (Apr 5, 2024): Oh that's a good catch. I think I'll enforce that URLs must have a protocol in them (e.g. https:// or http://) for them to be considered as URLs I guess.
Author
Owner

@derekslenk commented on GitHub (Apr 6, 2024):

I wasn't trying to paste a URL, that is the problem. It was a note with JUST a key:value entry.

I have been doing some testing, and it only occurs if the : is directly after the first work (or maybe before the first space?).

For example, look: broken breaks it.

But if I do look here: not broken, it works fine.

Hope that clears it up

<!-- gh-comment-id:2040834924 --> @derekslenk commented on GitHub (Apr 6, 2024): I wasn't trying to paste a URL, that is the problem. It was a note with JUST a `key:value` entry. I have been doing some testing, and it only occurs if the `:` is directly after the first work (or maybe before the first space?). For example, `look: broken` breaks it. But if I do `look here: not broken`, it works fine. Hope that clears it up
Author
Owner

@MohamedBassem commented on GitHub (Apr 6, 2024):

Yeah, I managed to repro and already have a fix that will be available in the next release. Thanks for the report!

<!-- gh-comment-id:2040835859 --> @MohamedBassem commented on GitHub (Apr 6, 2024): Yeah, I managed to repro and already have a fix that will be available in the next release. Thanks for the report!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
starred/karakeep#74
No description provided.