Skip to content

Terminal URI auto decode #74604

Closed
Closed

Description

  • VSCode Version:1.33
  • OS Version: macOS Mojave version 10.14.3 (18D42)

Steps to Reproduce:

  1. open Terminal
  2. type echo "http://example.com?a=JGPD%2B%2B%2BfS45rQEtkhKPjJw7vwCUsQ%3D", then Cmd + click to follow link in Terminal
  3. in browser, it will become http://example.com/?a=JGPD+++fS45rQEtkhKPjJw7vwCUsQ=

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

When i use Cmd + click to follow link in Terminal, the URI in Firefox browser will auto decode. Is this a feature or a bug ?

Activity

  1. added
    terminal
    on May 30, 2019
  2. Tyriar commented on May 30, 2019

    @Tyriar
    Contributor

    Shaoqing Hu (@hushaoqing) just to clarify, the auto decode breaks the link?

  3. added
    info-needed
    on May 30, 2019
  4. hushaoqing commented on May 31, 2019

    @hushaoqing
    Author

    Daniel Imms (@Tyriar) yes, for me, the auto decode breaks the links. I need the link keep encoded and consistent in Terminal and Browser when i use Cmd + click to follow link in Terminal. It's an unclear behavior. The links should be consistent in Terminal and Browser.

  5. added
    bug
    and removed
    info-needed
    on May 31, 2019
  6. added this to the Backlog milestone on May 31, 2019
  7. Tyriar commented on May 31, 2019

    @Tyriar
    Contributor

    This happens because the links go into one of our URI objects but I'm convinced after many reports like this that we're doing the wrong thing.

  8. Tyriar commented on Oct 24, 2019

    @Tyriar
    Contributor

    Actually there's nothing I can do here as I'm just leveraging the generic opener service. You would need to convince the entire editor to change how links are handled which has already failed several times.

  9. removed this from the October 2019 milestone on Oct 24, 2019
  10. added
    *as-designed
    and removed
    bug
    on Oct 24, 2019
  11. Tyriar commented on Oct 30, 2019

    @Tyriar
    Contributor

    Looks like we can fix after #83645

  12. added
    bug
    and removed
    *as-designed
    on Oct 30, 2019
  13. jrieken commented on Nov 14, 2019

    @jrieken
    Contributor

    Daniel Imms (@Tyriar) fyi - I have a fix for this in joh/opener, 65159d0. Initial progress looks good but I need to build up more confidence before merging

  14. Tyriar commented on Nov 15, 2019

    @Tyriar
    Contributor
  15. added
    verified
    on Dec 4, 2019
  16. locked and limited conversation to collaborators on Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugterminaluriverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions