Ticket #1018 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

URLs with embedded hyphens/underscores parse incorrectly

Reported by: BrianKoontz Owned by: BrianKoontz
Priority: high Milestone: 1.3.1
Component: formatters Version: 1.3
Severity: major Keywords:
Cc:

Description (last modified by BrianKoontz) (diff)

(Reported by fireglow via IRC):

Parsing stops when the parse attempts to parse a URL outside of a forced link:

Linktest:  http://ex-ample.com

Update:

Links fail to parse properly with embedded underscores as well:

Linktest:  http://www.example.com/test_page

Change History

Changed 3 years ago by DarTar

  • priority changed from normal to high
  • severity changed from normal to major
  • milestone changed from 1.4 to 1.3

This bug was not present in 1.2, which parses those URLs fine. I confirm it affects 1.3 and should definitely be patched before the release.

Changed 3 years ago by BrianKoontz

  • owner changed from unassigned to BrianKoontz
  • status changed from new to assigned

Changed 3 years ago by BrianKoontz

(In [1740]) Added "-" to legal URL chars. Refs #1018

Changed 3 years ago by BrianKoontz

  • status changed from assigned to testing

Changed 3 years ago by BrianKoontz

  • status changed from testing to assigned

Changed 3 years ago by BrianKoontz

  • description modified (diff)
  • summary changed from URLs with embedded hyphens parse incorrectly to URLs with embedded hyphens/underscores parse incorrectly

Changed 3 years ago by BrianKoontz

  • milestone changed from 1.3 to 1.3.1

Updated milestone to 1.3.1

Changed 3 years ago by BrianKoontz

(In [1773]) Added '_' to allowable chars in URL. Refs #1018.

Changed 3 years ago by BrianKoontz

  • status changed from assigned to closed
  • resolution set to fixed

Changed 3 years ago by BrianKoontz

(In [1784]) Merged 1.3.1 changes into trunk ([1765]-[1780],[1782]). Refs #191, #843, #1040, #1041, #38, #1042, #1043, #1018, #1045, #208, #415, #1039, #189

Note: See TracTickets for help on using tickets.