Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

drawio tries to open .config file #8

Open
cdamken opened this issue Aug 20, 2018 · 9 comments
Open

drawio tries to open .config file #8

cdamken opened this issue Aug 20, 2018 · 9 comments

Comments

@cdamken
Copy link

cdamken commented Aug 20, 2018

steps to reproduce:

install oc-drawio
create a file with extension .config
try to open it

expected behavior:

open with other app or download file

actual behavior:

oc-drawio tries to open it and says invalid format.

oC10.0.9

@tomneedham any more information you need it?

@cdamken cdamken mentioned this issue Aug 28, 2018
3 tasks
@cdamken
Copy link
Author

cdamken commented Sep 13, 2018

Additional, a file called: testfile without extension triggers also the drawio

@Koblenz
Copy link

Koblenz commented Oct 8, 2018

Same here in oc10.0.9 and drawio 0.0.8.
Unknown file extensions like (.reg, .ovpn etc.) are opened with drawio.

@tomneedham tomneedham mentioned this issue Oct 11, 2018
@tomneedham
Copy link
Owner

Working on a fix hererhttps://github.com//pull/9 but I think it needs more work / restriction

@lefherz
Copy link

lefherz commented Nov 19, 2018

I have the same bug with a text file. renaming it to .md didn't work.

emil@xubuntu-18:~/owncloud$ file -i file.md 
file.md: text/plain; charset=utf-8

@proeiffel
Copy link

Hi, I have also same problem.

many file formats opening with drawio like .war, and any unknown format.

(Drawio 0.0.8) (Owncloud 10.0.10.4)

@tomneedham
Copy link
Owner

I'm a bit stuck here because when the JS button 'creates a new diagram' there is no option to specify the mimetype. So it is created with application/octet-stream. So if I don't register for this, then we can't even open diagrams we created. Needs some fixing in core really :/

@ChrisEdS
Copy link

Draw.io also opens *.log files.

@cdamken
Copy link
Author

cdamken commented Jan 24, 2020

Draw.io also opens *.log files.

tries to open and it's stuck or it open it?

@tomneedham any way to fix it?
The draw.io could check if the file is with drawio extension and odherwise use the other default app, like text editor ;)

@prsnbrg
Copy link

prsnbrg commented Aug 23, 2021

Anything new to this issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants