diff --git a/src/aphront/default/configuration/AphrontDefaultApplicationConfiguration.php b/src/aphront/default/configuration/AphrontDefaultApplicationConfiguration.php index a5ccd89196..89c3041556 100644 --- a/src/aphront/default/configuration/AphrontDefaultApplicationConfiguration.php +++ b/src/aphront/default/configuration/AphrontDefaultApplicationConfiguration.php @@ -572,7 +572,8 @@ class AphrontDefaultApplicationConfiguration ); if (!$attrs['href']) { $attrs['href'] = sprintf($path, $callsigns[$lib]). - $relative.'$'.$part['line']; + str_replace(DIRECTORY_SEPARATOR, '/', $relative). + '$'.$part['line']; $attrs['target'] = '_blank'; } $file_name = phutil_render_tag(