Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@myitcv
Copy link
Member

@myitcv myitcv commented Jun 7, 2021

When interpretting URIs from gopls, we need to use the
span.URI.Filename() when we are expecting a filename. This ensures we
properly decode the URL, which in turn properly decodes the hex-encoded
path elements, like '!', which can appear in module paths.

When interpretting URIs from gopls, we need to use the
span.URI.Filename() when we are expecting a filename. This ensures we
properly decode the URL, which in turn properly decodes the hex-encoded
path elements, like '!', which can appear in module paths.
@myitcv myitcv requested a review from leitzler June 7, 2021 12:02
Copy link
Member

@leitzler leitzler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@myitcv myitcv merged commit 81a74fe into main Jun 8, 2021
@myitcv myitcv deleted the cmd_govim_decode_uri branch June 8, 2021 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants