Project

General

Profile

Actions

Bug #2021

closed

REOPEN "2012" with miscorrection.

Added by MinGyoon Woo over 11 years ago. Updated about 11 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
Parsers
Target version:
-
Start date:
2014-03-22
Due date:
% Done:

100%

Estimated time:
Found in version:
3.9.467
Affected Versions:

Description

This bug was fixed by Adam and closed. But I found mistyping and wrong character.

url.c line 101

#define URL_RE "^([A-Za-z)://(("UC"+)(:("PC"+))?)?("HC"+)(:([0-9]+))?(/.*)?" 

is wrong. You missed ']' and wrong '^'. I believe the meaning of '^' is exclude.
It should be
#define URL_RE "([A-Za-z]+)://(("UC"+)(:("PC"+))?)?("HC"+)(:([0-9]+))?(/.*)?" 

Actions

Also available in: Atom PDF