Changed in https://github.com/scala/scala/pull/10502 ## Reproduction steps ```scala // /workspace/sandbox/foo.scala class Foo ``` ``` scaladoc -doc-source-url 'http://somewhere€{FILE_PATH}.scala' /workspace/sandbox/foo.scala ``` ## Problem In 2.13.11 we get source links like: ```html <a href="http://somewhere/workspace/sandbox/foo.scala" target="_blank">foo.scala</a> ``` In 2.13.12 we get: ```html <a href="http://somewherefoo.scala" target="_blank">foo.scala</a> ``` h/t @Jasper-M, cc @j-mie6