[xdebug-dev] Bug 0000266: DBGp: Windows filename URIs use incorrect path separators

From: <noreply[@]lists.xdebug.org>
Date: Fri, 11 May 2007 01:24:02 +0200

The following NEW bug has been ADDED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000266
======================================================================
Reporter: toddw
Handler:
======================================================================
Project: Xdebug
Bug ID: 266
Category: Debug client (console)
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Operating System: Windows XP
PHP Version: 5.1.6
Xdebug Version: 2.0.0rc3
======================================================================
Date Submitted: 2007-05-11 01:24 CEST
Last Modified: 2007-05-11 01:24 CEST
======================================================================
Summary: DBGp: Windows filename URIs use incorrect path separators
Description:
In the dbgp protocol, the filename URI set in response to the "stack_get"
command are incorrect. Example:

<?xml version="1.0" encoding="iso-8859-1"?>
<response command="stack_get" transaction_id="36">
  <stack where="{main}" level="0" type="file"
filename="file:///C%3A%5CApache2.2%5Chtdocs%5Cphp%5Cphpinfo.php"
lineno="4"></stack>
</response>

That filename unescaped is:
file:///C:\Apache2.2\htdocs\php\phpinfo.php

I believe it should be using forward slashes for the path separator, like
so:
file:///C:/Apache2.2/htdocs/php/phpinfo.php

======================================================================

Bug History
Date Modified Username Field Change
======================================================================
2007-05-11 01:24toddw New Bug
2007-05-11 01:24toddw Bug Monitored: toddw
======================================================================
Received on Fri May 11 2007 - 01:24:25 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST