danny-avila / LibreChat

Enhanced ChatGPT Clone: Features Anthropic, AWS, OpenAI, Assistants API, Azure, Groq, o1, GPT-4o, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. Actively in public development.
https://librechat.ai/
MIT License
19.15k stars 3.19k forks source link

[Bug]: Unable to edit or delete bookmark tags containing '#' character #4161

Closed rnavarroz closed 1 month ago

rnavarroz commented 1 month ago

What happened?

Creating bookmarks with '#' character will make all its functionality is broken. When you want to edit it or delete it will throws the message "There was an error updating the bookmark."

Steps to Reproduce

  1. Click on the "Bookmarks" module in the right sidebar to expand it.
  2. Click button "New Bookmark" under "Bookmarks" in the right sidebar to open a dialog.
  3. In the dialog, enter a title that contains a character like # (for example, "Test #1").
  4. Click the "Save" button in the dialog to dismiss it.
  5. Find your new bookmark tag in your list of bookmarks and click the edit icon (a pencil) next to it to open the "Bookmark" dialog again.
  6. Edit the title or description, then click the "Save" button on the dialog to dismiss.

What browsers are you seeing the problem on?

Firefox, Chrome

Relevant log output

No response

Screenshots

bookmark-v0 7 5-rc2

Code of Conduct

danny-avila commented 1 month ago

Thanks, I see the issue and will resolve it soon