Comments (7)
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.
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.
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.
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.
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.
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.
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)
- 500s from address book after upgrading to PHP 8.2 HOT 1
- Unable to login with principals/username HOT 2
- macOS tries to create default calendar (invalid CalDAV spec?)
- Again could not login with principals/username HOT 2
- unit tests failing HOT 2
- Coupling Mode HOT 1
- Response must not contain `stats` **and** `propstat`
- Sabre\DAV\Exception\InvalidSyncToken: Invalid or unknown sync token HOT 5
- DavFS Client : HTTP/1.1 404 Not Found
- New release 4.5.0 HOT 9
- A lot of "File $path could not be located" warnings, when using Windows Explorer HOT 4
- Composer using very old sabre vendor libs HOT 7
- Bug, add principals programtically do not store display name and email. HOT 1
- First and Last Occurence Calculation only considers the first VEvent-Block HOT 2
- DAV Client discards any item in a PROPFIND response that has an other status than 200 HOT 4
- PHP 8.2 ValueError: Epoch doesn't fit in a PHP integer in PDO.php HOT 2
- Sabre\\DAV\\Exception\\NotAuthenticated with no apparent detail HOT 1
- Trying to access array offset on value of type bool HOT 1
- timezone expansion goes wrong for Morgen's Bookingpage HOT 6
- Caldav & Laraval
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dav.