notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

[BUG] If the link is in quotation marks («<link>»), then when you click on it, a redirection occurs along with the quotation mark

Open
#15,505 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

URL parser
Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Is there an existing issue for this?
  • I have searched the existing issues
Description of the Issue

If the link is in quotation marks («<any_link>»), then when you click on it, a redirection occurs along with the quotation mark. Because of this, a redirection occurs to the wrong link address.

Steps To Reproduce
  1. Enclose the link in quotation marks.
  2. Click on the link.
Current Behavior

Redirection occurs along with quotes.

Expected Behavior

Redirect without quote.

Debug Information
Notepad++ v8.6.9   (64-bit)
Build time : Jul 12 2024 - 05:09:25
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "C:\1.txt"
Admin mode : ON
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : OFF
OS Name : Windows 7 Ultimate (64-bit)
OS Build : 7601.24546
Current ANSI codepage : 1251
Plugins : 
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)
Anything else?

No response

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 by reproducing the issue in Notepad++ by opening a document, enclosing a link in quotation marks, and clicking it. Since the issue names no source file or test, locate the link-detection and click-redirection entry point, then verify that the destination excludes the surrounding quotation mark.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.