Browse Source

Fix URL parsing issue with '?' after '#'

Fixes #13583, close #15670
pull/15728/head
Czespo 2 months ago committed by Don Ho
parent
commit
7dbb459b55
  1. 2
      PowerEditor/src/Notepad_plus.cpp

2
PowerEditor/src/Notepad_plus.cpp

@ -3303,7 +3303,7 @@ void scanToUrlEnd(const wchar_t *text, int textLen, int start, int* distance)
break;
case sFragment:
if (!isUrlTextChar(text [p]))
if (text [p] != '?' && !isUrlTextChar(text [p]))
{
*distance = p - start;
return;

Loading…
Cancel
Save