Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to scroll to heading in file with "%3A" in filename #59523

Closed
jltgroup opened this issue Sep 27, 2018 · 3 comments
Closed

Unable to scroll to heading in file with "%3A" in filename #59523

jltgroup opened this issue Sep 27, 2018 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug markdown Markdown support issues verified Verification succeeded

Comments

@jltgroup
Copy link

This bug may be the same as the one reported by #58985, but I wasn't too sure.

  • VSCode Version: 1.27.2
  • OS Version: Win 7 (64 bit)

Steps to Reproduce:

  1. Open VSCode

  2. Create a new file, and enter the following text:

    # Example
    
    - [Example](#example)
      - [Heading 1](#heading-1)
      - [Heading 2](#heading-2)
    
    ## Heading 1
    
    Irure proident incididunt duis eiusmod anim tempor voluptate consequat.
    
    ## Heading 2
    
    Irure proident incididunt duis eiusmod anim tempor voluptate consequat.
  3. Save the file as "Example.md".

  4. Using the mouse, press and hold Ctrl and click on the link #heading-2. The application should scroll to "Heading 2" successfully.

  5. Now save the file as "Example%3A 1.md".

  6. Repeat step 4, the application should fail to scroll, and display the following error message:

    Unable to open 'Example: 1.md': File not found (file:///c:/Example: 1.md).
    

Does this issue occur when all extensions are disabled?: Yes

@vscodebot
Copy link

vscodebot bot commented Sep 27, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@vscodebot vscodebot bot added the markdown Markdown support issues label Sep 27, 2018
@mjbvz mjbvz added the bug Issue identified by VS Code Team member as probable bug label Sep 28, 2018
@mjbvz
Copy link
Collaborator

mjbvz commented Sep 28, 2018

This works for on-disk files in insiders. Untitled files still are broken

@mjbvz mjbvz added this to the October 2018 milestone Oct 5, 2018
@mjbvz mjbvz closed this as completed in 6d52140 Oct 5, 2018
@RMacfarlane
Copy link
Contributor

I'm still able to reproduce this issue on this version:

Version: 1.29.0-insider (user setup)
Commit: d7ac6e8
Date: 2018-11-01T06:20:59.729Z

@RMacfarlane RMacfarlane reopened this Nov 1, 2018
@RMacfarlane RMacfarlane added the verification-found Issue verification failed label Nov 1, 2018
@mjbvz mjbvz modified the milestones: October 2018, On Deck Nov 1, 2018
@mjbvz mjbvz removed the verification-found Issue verification failed label Nov 1, 2018
@mjbvz mjbvz modified the milestones: On Deck, December/January 2019 Dec 15, 2018
@mjbvz mjbvz closed this as completed in c1c3e5e Jan 28, 2019
@jrieken jrieken added the verified Verification succeeded label Feb 1, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug markdown Markdown support issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants