Giter Site home page Giter Site logo

Comments (5)

seveas avatar seveas commented on September 26, 2024

It is actually a bug in the ilo firmware that I think locfg.pl works around (or it has the same bug, I've not actually investigated) and locfg.pl: In XML documents, an & needs to be escaped, the XML generated by python-hpilo does this correctly. However, the iLO firmware does not properly unescape the password field.

I'm a bit hesitant to "fix" python-hpilo, so I would recommend working around this by using a password that does not contain a & character.

from python-hpilo.

Poulpatine avatar Poulpatine commented on September 26, 2024

I understand your point of view, you want to respect XML standards.

But as this is a bug in iLO and your code is only designed to work with iLOs (as far as I know ?), maybe would it be good to make it works ?

Regards.

from python-hpilo.

seveas avatar seveas commented on September 26, 2024

It's not just about standards. Fixing this is going to require really nasty hacks to make sure it works on all supported python versions. Look at how the CDATA support in hpilo.py is implemented and think "three times uglier".

from python-hpilo.

seveas avatar seveas commented on September 26, 2024

Actually, I've come up with a fairly OK way of doing this. At least it doesn't make me hide in the corner with shame. See commit 095d784, which will be in the next release.

from python-hpilo.

Poulpatine avatar Poulpatine commented on September 26, 2024

Thanks, it's great ! Many thanks for your reactivity.

from python-hpilo.

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.