Giter Club home page Giter Club logo

Comments (7)

evert avatar evert commented on August 16, 2024

From [email protected] on July 14, 2009 16:13:50:
Hi Toupeira,

Would you be able to supply the complete request body + headers for this?

It looks like a client is trying to make a propfind request with a property unknown
to SabreDAV (in a custom namespace).

I'm interested to see what this request is exactly..

Thanks!

from dav.

evert avatar evert commented on August 16, 2024

From [email protected] on July 14, 2009 17:23:17:
I'll try to capture it, but it will be difficult because I don't know who's doing it ;)

from dav.

evert avatar evert commented on August 16, 2024

From [email protected] on July 14, 2009 17:27:49:
Perhaps I can find stuff just based on looking at the actual code.

from dav.

evert avatar evert commented on August 16, 2024

From [email protected] on July 14, 2009 19:07:43:
Hold on, I changed the code so it now simply catches that exception, logs the request
body (using $this->httpRequest->getBody(true)) and headers ($_SERVER), and re-throws
the exception. Now I'll just have to wait... it seems it doesn't happen as often as I
first thought ;)

from dav.

evert avatar evert commented on August 16, 2024

From [email protected] on July 14, 2009 19:21:27:
Great! Even edge cases are very important for me :) I'm definitely aiming for a
utopian bug-free app :)

from dav.

evert avatar evert commented on August 16, 2024

From [email protected] on July 16, 2009 11:06:12:
The error didn't show up anymore, with 0.7 it came a dozen times a day so I suppose
you already fixed the bug in 0.8 ;)

Looking at the diff between 0.7 and 0.8 I found this change in
Sabre_DAV_Server#parseProps():

/* If there are no elements in here, we actually get 1 text node, this special case
is dedicated to netdrive */
if ($propNodeData->nodeType != XML_ELEMENT_NODE) continue;

So it seems NetDrive caused the DOMExceptions, and this code removes the offending nodes?

from dav.

evert avatar evert commented on August 16, 2024

From [email protected] on July 16, 2009 12:47:29:
Yes, I forgot about this bugfix. Netdrive sends a weird PROPFIND request, so we
needed to have a special clause to get around this.

Closing this bug

from dav.

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.