Git Product home page Git Product logo

Comments (9)

angelozerr avatar angelozerr commented on June 21, 2024

@jukzi have you a concrete sample where there could be have a problem?

from lemminx.

jukzi avatar jukzi commented on June 21, 2024
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE root_element SYSTEM "http://anyhost/.../.../escapedthecachefolder">
<body>
</body>

image

from lemminx.

jukzi avatar jukzi commented on June 21, 2024

Please also note, that somehow
<!DOCTYPE root_element SYSTEM "file://localhost:/secret">
tries to access c:/secret - why??
image

And it happens even if in eclipse IDE the option"download external resources like referenced DTD, XSD" is disabled!
image

from lemminx.

angelozerr avatar angelozerr commented on June 21, 2024
tries to access c:/secret - why??

The problem requires to be investigated. Do you think you could be interested to contribute with your issue?

And it happens even if in eclipse IDE the option"download external resources like referenced DTD, XSD" is disabled!

It should work since long time. After chaning the preference if you type a space in the XML, you should see:

image

from lemminx.

jukzi avatar jukzi commented on June 21, 2024

It doesn't matter what the dialog box says when it still tries to read arbitrary files from filesystem.
I don't know how to debug lemmix. it's on another process then eclipse.exe.
For the triple dot thing it would be enough to just search for "../" instead of "/../"

from lemminx.

angelozerr avatar angelozerr commented on June 21, 2024

We are busy and I fear that we will have not time to do that for now.

I know that we have several tests about this check. If you feel to fix it in lemminx (+test) it should be really nice.

from lemminx.

angelozerr avatar angelozerr commented on June 21, 2024

It doesn't matter what the dialog box says when it still tries to read arbitrary files from filesystem.

Ho the problem comes from when you use localhost? If you try http, https, is it working?

from lemminx.

jukzi avatar jukzi commented on June 21, 2024

I see the problem only for "file://localhost:". http/https or any host other then localhost does not show the effect.

from lemminx.

angelozerr avatar angelozerr commented on June 21, 2024

Ok I understand more, if it starts with file we consider that it not a remote file and we try to download something.

Any contribution are welcome!

If you are interested to work on this issue and you need some help, please ask me.

from lemminx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.