Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #1161 (closed defect: fixed)

Opened 5 months ago

Last modified 2 months ago

tango.net.Uri handles relative paths incorrectly

Reported by: Ralith Assigned to: kris
Priority: normal Milestone: 0.99.8
Component: Core Functionality Version: trunk
Keywords: triage Cc:

Description

When relParse is called on a Uri such as a new Uri("http://www.google.com/") with a path relative to the root, e.g. "/foo", all fields but the path are reset, resulting in an unusable Uri. Using a path relative to the current directory, e.g. "foo", generates a segfault in Uri.toLastSlash on my system.

Change History

06/29/08 17:43:18 changed by larsivi

  • owner changed from sean to kris.

07/02/08 04:54:07 changed by larsivi

  • keywords set to triage.

07/10/08 06:48:30 changed by larsivi

  • milestone changed from 0.99.7 to 0.99.8.

10/01/08 01:47:05 changed by kris

  • status changed from new to closed.
  • resolution set to fixed.

fixed, though relative paths starting with '/' are not supported