Skip to content

URL parsing issue with '#' and '?' #13583

@desk7

Description

@desk7

Description of the Issue

there is a problem with the parsing of the URL.

If there is a '#' within the URL, and in the following there is a '?', the part of the URL following '?' is not recognized.

Steps to Reproduce the Issue

  1. type an URL such as https://example.com/#/app/0?context
  2. the part of the URL after ? is not recognized as URL.

Expected Behavior

All the https://example.com/#/app/0?context should be recognized as URL.

Actual Behavior

Only https://example.com/#/app/0 is parsed as URL.

Debug Information

Notepad++ v8.5.2 (64-bit)
Build time : Apr 4 2023 - 19:55:32
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Home (64-bit)
OS Version : 22H2
OS Build : 19045.2846
Current ANSI codepage : 1252
Plugins :
DSpellCheck (1.4.24)
mimeTools (2.9)
NppConverter (4.5)
NppExec (0.8.2)
NppExport (0.4)

Screenshot

test

Metadata

Metadata

Assignees

No one assigned

    Labels

    URL parserIssue related to the new URL parser

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions