cody
cody copied to clipboard
Cannot add URLs containing # symbols to the chat
Version
1.80.1
Describe the bug
When using @ and selecting the Web URLs option, pasting a link with a # symbol prevents it from retrieving webpage content. Many documentation websites automatically include fragments like #section in their pages, making it inconvenient to copy content into Cody.
Reproduction steps:
- Use @ and select Web URLs
- Paste
https://example.org - You'll see an option with the webpage title; clicking it adds the content to the chat.
- Copy a webpage with a #, e.g.,
https://example.org#section - Cody shows no reaction, as if pasting plain text
https://github.com/user-attachments/assets/a7034a5f-ee90-410e-8a7c-3638baff0d81
Expected behavior
Should be able to properly handle such URLs and add the content into the chat context
Additional context
No response