Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F847782
D136.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Apr 19, 5:42 PM
Size
743 B
Mime Type
text/x-diff
Expires
Sun, Apr 20, 5:42 PM (17 m, 51 s)
Engine
blob
Format
Raw Data
Handle
602573
Attached To
D136: INP-1483 - Use "path" in from DBG_EDITOR_URL constant only when available
D136.diff
View Options
Index: branches/5.3.x/core/kernel/utility/debugger.php
===================================================================
--- branches/5.3.x/core/kernel/utility/debugger.php
+++ branches/5.3.x/core/kernel/utility/debugger.php
@@ -509,7 +509,11 @@
{
$components = parse_url(DBG_EDITOR_URL);
- $this->editorUrlData['url'] = $components['scheme'] . '://' . $components['host'] . $components['path'];
+ $this->editorUrlData['url'] = $components['scheme'] . '://' . $components['host'];
+
+ if ( isset($components['path']) ) {
+ $this->editorUrlData['url'] .= $components['path'];
+ }
if ( isset($components['query']) ) {
parse_str(html_entity_decode($components['query']), $this->editorUrlData['params']);
Event Timeline
Log In to Comment