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

URL double encoding in Chrome #394

Closed
jjhost opened this issue Oct 9, 2023 · 6 comments
Closed

URL double encoding in Chrome #394

jjhost opened this issue Oct 9, 2023 · 6 comments
Milestone

Comments

@jjhost
Copy link

jjhost commented Oct 9, 2023

Click on open in chrome leads to "Site can't be reached" screen:
image

@asaarilahti
Copy link
Member

asaarilahti commented Oct 12, 2023

Thanks for reporting @jjhost! I'm not able to reproduce it (tried both "Open with" from menu and with the icons in the corner of the spec window). So would you be able to provide some more info?

  • Version of the plugin
  • IDEA version
  • OS and OS version
  • What are the exact steps you do to open it in Chrome?
  • (Does the issue occur with other browsers?)

edit: Looking at the path, the OS seems to be Windows, so this likely occurs only under Windows.

@jjhost
Copy link
Author

jjhost commented Oct 12, 2023

Hey there
Version of the plugin: 1.3.0
IDEA version: IntelliJ IDEA 2023.2.3 (Ultimate Edition), Build #IU-232.10072.27, built on October 11, 2023
OS and OS version:
Edition Windows 10 Enterprise
Version 22H2
Installed on ‎24. ‎2. ‎2022
OS build 19045.3448
Experience Windows Feature Experience Pack 1000.19044.1000.0

What are the exact steps you do to open it in Chrome?
click here:
(Does the issue occur with other browsers?)

@jjhost
Copy link
Author

jjhost commented Oct 12, 2023

sorry, crtl+Enter sends things ..
I click here to open:
image
other browsers: edge has same behavior as chrome, mozilla seems to de-double-encode the URL but displays nothing

When I un-double encode the URL, the content is correctly rendered ..

@ismail-bertalfilali
Copy link

Same problem for me as well.
Any solutions please ?

@jsonstethem
Copy link

Same problem with all browsers

@zangailcs
Copy link

Same problem, downgrade to 1.2.0 can temporarily avoid this problem on my computer:
Win11+ IDEA2023.2.4 (Ultimate Edition) + Chrome + Plugin 1.2.0

gyurib added a commit to gyurib/intellij-swagger that referenced this issue Jul 24, 2024
URL double encoding in Chrome

These changes fix the issue reported in zalando#394 
The solution was to change the paths to be system independent.
Tested in windows and unix platforms
gyurib added a commit to gyurib/intellij-swagger that referenced this issue Jul 24, 2024
URL double encoding in Chrome

These changes fix the issue reported in zalando#394 
The solution was to change the paths to be system independent.
Tested in windows and unix platforms
@asaarilahti asaarilahti added this to the 1.4.0 milestone Jul 24, 2024
asaarilahti pushed a commit that referenced this issue Jul 25, 2024
* Path on windows platform

URL double encoding in Chrome

These changes fix the issue reported in #394 
The solution was to change the paths to be system independent.
Tested in windows and unix platforms

---------

Co-authored-by: Gyuri Boros <[email protected]>
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

No branches or pull requests

5 participants