mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-05 02:41:34 +00:00
fix: new chat from the search dialog cuts off or changes text containing #, & or + (#31592)
Starting a new chat from the search dialog with "Start a new conversation" sent a different message than the one typed: everything from a # or & onwards was dropped and + turned into a space. The typed text now reaches the new chat unchanged. Fixes #31469
This commit is contained in:
parent
bee06b08ba
commit
2f6addf351
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@
|
|||
{
|
||||
label: $i18n.t('Start a new conversation'),
|
||||
onClick: async () => {
|
||||
await goto(`/${query ? `?q=${query}` : ''}`);
|
||||
await goto(`/${query ? `?q=${encodeURIComponent(query)}` : ''}`);
|
||||
show = false;
|
||||
onClose();
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue