Responsively-app: When HTML file has an # in the name, it does not open with responsively

Created on 30 Jul 2020  ·  6Comments  ·  Source: responsively-org/responsively-app

Version: 0.9.0
Electron: 9.1.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.18363

  • How to reproduce
    1- create a valid html file in your file system
    2- open it with responsively, it should go OK
    3- rename the file and put a # somewhere in the name
    4- open it with responsively, an ERROR: -6 ERR_FILE_NOT_FOUND appears

I don't know if this happens with other characters

when you open the renamed file with Chrome, it replace # by %23 and when you replace it in Responsively address bar it works again

bug

All 6 comments

it does not work from Open HTML file menu item nor from Open with Responsively OS menu

maybe we need to URL encode the filepath/filename

I can look into URL encoding and attempt this if there isn't anyone else working on it?

@aUsefulMethod That would be awesome, please go ahead. 🙌

I'll assign this to you!

Screenshot (42)

Getting this response when running yarn dev from desktop-app

I'm so sorry, I'm on my laptop and I hadn't run npm install :/. I use too many devices. 🤦‍♂️

Was this page helpful?
0 / 5 - 0 ratings