logseq / logseq/logseq

When Zotero integrate a pdf filename contains "{" and "}", the attachments cannot display normally

Open
#8,757 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:type/enhancement filenames integration:zotero
Dominant language
Clojure
Stars
45k
Forks
2.8k
Avg merge
1d 22h
Merged PRs (30d)
105

Description

### Search first

- [X] I searched and no similar issues were found

### What Happened?

Snipaste_2023-03-04_10-32-03
Snipaste_2023-03-04_10-30-35
Snipaste_2023-03-04_10-30-51

### Reproduce the Bug

1. Use Zotero integration find a thesis whose name contains "{" and "}"
2. Click the new-generated page
3. Look at the attachments

### Expected Behavior

Like this:
Snipaste_2023-03-04_10-33-25

### Screenshots

_No response_

### Desktop or Mobile Platform Information

_No response_

### Additional Context

_No response_

### Are you willing to submit a PR? If you know how to fix the bug.

- [ ] I'm willing to submit a PR (Thank you!)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Zotero integration entry point and reproduce the issue with a thesis filename containing "{" and "}". Trace how the generated page resolves and displays its attachments, then verify that the attachments display normally for such filenames.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.