4f01ee597f569d80e2e81f912e425a572002328c 1602338 |
|
13-Jun-2014 |
breser |
Fix PR 56480: PROPFIND walker doesn't encode hrefs properly
Reverts r1529559 partially (specifically the dav_xml_escape_uri) bit.
Reverts r1531505 entirely.
* modules/dav/main/mod_dav.c
(dav_xml_escape_uri): Revert the piece of r1529559 that removes the URI
escaping from this function.
* modules/dav/main/props.c
(dav_do_prop_subreq): Escape the URI before doing a sub request with it.
This resolves some properties like getcontenttype from failing to be
returned for files that contain characters that require encoding in their
path.
* modules/dav/main/mod_dav.h
(dav_resource): Note the inconsistency in the documentation.
* modules/dav/fs/repos.c
(dav_fs_get_resource): Don't use the unparsed_uri to set the uri field of
the resource. This is the correct fix for the double encoding in mod_dav_fs
that led to the dav_xml_escape_uri() change and r1531505.
(dav_fs_walker, dav_fs_append_uri): Revert r1531505 changes. |
f5423f498d3699cd9ffa0a2af64a1dca33d5047b 1486027 |
|
24-May-2013 |
minfrin |
Clarify the existing behavior. |
f59c12a3b7bd7cc11d7df4de0d8eb31e3211e8e5 1486026 |
|
24-May-2013 |
minfrin |
Reverting as per veto in http://svn.apache.org/r1486021. |
40d570cf1420f497bcac59045d4ce477f0b5d891 1476645 |
|
27-Apr-2013 |
minfrin |
mod_dav: Do not segfault on PROPFIND with a zero length DBM. PR 52559
Submitted by: Diego Santa Cruz <diego.santaCruz spinetix.com>
Tested by William Lewis <wiml omnigroup com> |
0754dde4b645ccd88fdb6c2961c0bdd7b213bdba 1476627 |
|
27-Apr-2013 |
minfrin |
mod_dav: PROPPATCH delete (svn propdel) silently discards errors. PR 53525
Submitted by Arwin Arni <arwin collab.net> |
99d46a23c6eac800f327b29f8009f7d7da986230 882274 |
|
19-Nov-2009 |
trawick |
Remove errno from dav_error interface. Calls to dav_new_error()
and dav_new_error_tag() must be adjusted to add an apr_status_t parameter.
Reviewed by: jorton |
842ae4bd224140319ae7feec1872b93dfd491143 420983 |
|
11-Jul-2006 |
fielding |
update license header text |
3d81f57512275ca06a60a9bcbd23c1f8b429fdf2 395228 |
|
19-Apr-2006 |
colm |
Update the copyright year in all .c, .h and .xml files |
1448efd1befdbe16fe42532edbc379204279aadf 239422 |
|
23-Aug-2005 |
asteinmetz |
fix 64bit build warnings in modules/dav |
0206c121a68a63559b2e843288e81bcf16093e46 155345 |
|
25-Feb-2005 |
jerenkrantz |
* modules/dav/main/mod_dav.h: Wrap all public functions in
DAV_DECLARE or DAV_DECLARE_NONSTD.
* modules/dav/main/liveprop.c, modules/dav/main/props.c,
modules/dav/main/util_lock.c, modules/dav/main/mod_dav.c,
modules/dav/main/std_liveprop.c, modules/dav/main/util.c:
Update function definitions.
Submitted by: Branko ÄŒibej <brane xbc.nu>
Reviewed by: Justin Erenkrantz |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
78cd48acd325773619d78ac0d7263a99a8922fae 102618 |
|
09-Feb-2004 |
nd |
fix name of The Apache Software Foundation |
71da3cca78eea6010f89b139ecadb79e6d213c4f 102523 |
|
06-Feb-2004 |
nd |
apply Apache License, version 2.0 |
26a4456dd6f1a5d7d7fff766551461a578687c4a 102135 |
|
01-Jan-2004 |
nd |
update license to 2004. |
33bdcae1f7a1a65e351dda2a766a0cf28b1e695d 98573 |
|
03-Feb-2003 |
nd |
finished that boring job:
update license to 2003.
Happy New Year! ;-)) |
92fd7dada3a6aa790afe4ac7c95c7e0f10d16adb 98475 |
|
23-Jan-2003 |
jerenkrantz |
Missed a word in a comment.
Bah. |
a7197cc4e2d0a4af05b54bba17ecd565457af641 98474 |
|
23-Jan-2003 |
jerenkrantz |
Create a subpool when we open the propdb, but we can't clear it until the rest
of the lifetime issues within mod_dav are straightened out. |
6f15570e3adc0faf87bf55f70857028276fc9e32 97342 |
|
29-Oct-2002 |
wrowe |
Detabbify. With extreme prejudice. |
0946f90438dcf29a5fe5d9e21559b3b9d640bc12 95862 |
|
23-Jun-2002 |
wrowe |
The real pain. ap->apr xml and text types. |
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986 93918 |
|
13-Mar-2002 |
fielding |
Update our copyright for this year. |
10d15a1817ddd19094a70ed0f7e4efc6a56f449f 91065 |
|
18-Sep-2001 |
gstein |
Revamp the API that mod_dav uses to talk to back end deadprop (propdb)
providers. The old API was really based on how the FS stored properties, but
sucked for other types of providers (SQL databases, Subversion, etc). This
new code is overall much cleaner as it moves from a DBM style API to one
tuned for actual mod_dav operation; it also more flexible/clearer for future
improvements (e.g. dropping props directly to the wire rather than buffering
in memory).
This new API allows the provider to better define namespace handling during
the output of the values, how values are serialized and stored, the mapping
between elements' namespaces and the internalized namespace storage, a
clearer mechanism for naming properties (dav_prop_name), and an explicit
rollback mechanism to deal with PROPPATCH atomicity.
Updated the FS provider (fs/dbm.c) to the new API, mostly by moving code
from main/props.c. Of course, with the new semantics, some big changes in
the namespace mapping were made. |
872f3bdb13ca15077fbe3a1d560e3c18d7f2e4d1 89128 |
|
16-May-2001 |
trawick |
Account for changes to the name of field "private" in struct apr_xml_elem.
PR: 7727 |
d0b8a620f3625f57ff85d9b94fa549c8cfdc5934 88599 |
|
28-Mar-2001 |
gstein |
Patch to sync with some changes to mod_dav 1.1:
*) revamp the set_target stuff -- latest draft calls this UPDATE
*) update the CHECKIN method handling
*) liveprop providers can catch/define "core" properties before the core
gets a chance.
Submitted by: John Vasta <jvasta@rational.com>
Reviewed by: Greg Stein |
b99dbaab171d91e1b664397cc40e039d0c087c65 88184 |
|
16-Feb-2001 |
fielding |
Update copyright to 2001 |
96056e0b952146325e0e4fb1ac7dd77e3ee752d6 88132 |
|
13-Feb-2001 |
trawick |
Use apr_want.h to get the declarations for ntohs et al instead of
including the appropriate system header files directly.
This gets rid of a warning for props.c on FreeBSD 3.4 which cropped
up when I included the right header file to get OS/390 to build :) |
7fae9cc4639013f3c04c085547256c68814aee8f 88120 |
|
12-Feb-2001 |
trawick |
include <arpa/inet.h> for the declarations for htons() et al; OS/390 has
macros in arpa/inet.h which turn such "calls" into nothing and does not
have functions to link against in libc |
bbba27074551817d7c6a606c4362965c26a0777e 87758 |
|
20-Jan-2001 |
gstein |
some stylistic tweaks post- John's patch |
c7548bcd69fbe1338ad855ba44f0b2b774e57bd8 87752 |
|
20-Jan-2001 |
gstein |
- implement DeltaV OPTIONS extensions
- let live prop providers get first crack at PROPFIND
- work around MS Web Folders limit on DAV header length
Submitted by: John Vasta <jvasta@rational.com>
Reviewed by: Greg Stein |
b980ad7fdc218b4855cde9f75a747527f50c554d 87731 |
|
19-Jan-2001 |
wrowe |
The big change. This is part 3 of the apr-util symbols rename, please
see the first commit of srclib/apr-util/include (cvs apr-util/include)
for the quick glance at symbols changed. |
acdb373d92c698a2ac260e03da95816c8a091eb6 87087 |
|
27-Nov-2000 |
gstein |
*) make find_liveprop() hook take a dav_resource rather than "r"
*) repos.c: liveprop hooks shouldn't respond if the resource is not an FS
resource.
*) std_liveprop.c: use empty-elem form if value=="". return NOTDEF for the
properties that we aren't ready to insert yet |
cccd31fa4a72fe23cc3249c06db181b274a55a69 87080 |
|
26-Nov-2000 |
gstein |
*) Compensate for recent changes in the APR headers. Specifically, some
files need to specifically include stdio.h, or a particular apr_*.h
header.
*) Adjust callers of apr_create_process() to deal with the extra "const"
*) Add "const" to args of ap_os_create_privileged_process() |
956f4b1551215610a57f3b52822dbac6f41a8aa9 87079 |
|
26-Nov-2000 |
gstein |
fix spelling: "writable" is the proper form |
5fbee309625f7a631a42d7dc05bbfa0d45a926cc 87075 |
|
23-Nov-2000 |
gstein |
shift some processing of "core" WebDAV properties out of the generic
property handling code, and into a new, core liveprop handler.
*) add std_liveprop.c to deal with the core DAV properties
*) move DAV:resourcetype, DAV:supported-method-set,
DAV:supported-live-property-set, and DAV:supported-report-set over to the
new handler
*) props.c::dav_get_allprops() should not look in the deadprop database for
the DAV:resourcetype -- it is readonly, so should never be in there.
*) strip vsn_hooks from the propdb; only the core liveprops need it now
*) mod_dav.c: register the core liveprop hooks and URIs
*) fs/repos.c: stripped DAV:displayname and DAV:source, in favor of letting
the core handler deal with them. |
0e8fe062a6ec71b4207d1a125ee6b44b7fd30857 87073 |
|
23-Nov-2000 |
gstein |
More revamping of live properties. Focused around the fact that a provider's
hooks are only called if that provider defines the prop (e.g. NOTME return
values are no longer needed). Also refactored some code to simplify liveprop
management for providers (assuming they don't have "funny" stuff).
*) enumerate all known DAV properties (DAV_PROPID_* in mod_dav.h)
- use these in fs/repos.c rather than DAV_PROPID_FS_*
- will use in SVN and a second-round whack on the "core" props in props.c
*) refactor dav_fs_liveprop_name to dav_liveprop_spec and add a writeable
flag
*) add dav_liveprop_group to hold a number of "top-level" items to pass to
the new liveprop utility functions
*) add dav_do_find_liveprop() as a util for the find_liveprop hook function
- toss repos.c::dav_fs_find_prop
- use the new function for repos.c::dav_fs_find_liveprop
*) rebuild dav_register_liveprop_namespace() as a full "group" registration
which will handle all the namespaces in a liveprop provider. The new func
is called dav_register_liveprop_group().
*) add dav_get_liveprop_info() to look up liveprop info given a provider's
propid. used in dav_fs_insert_prop() and dav_fs_is_writeable()
*) fold dav_fs_insert_all() directly into dav_fs_insert_all_liveprops()
since the former wasn't called by anything else
*) rename var in dav_fs_insert_prop() to "global_ns" to clarify its purpose.
torch a couple out-of-date comments in there.
*) toss dav_prop_rw type and simplify is_writeable hook. fix up calling of
hook in props.c::dav_rw_liveprop(). dav_rw_liveprop() should also call
the provider *first*, if one has stated it is handling the property.
*) toss DAV_PROP_INSERT_NOTME since we can't call a provider's insert_prop
with somebody else's liveprop
*) remove DAV_IS_CORE_PROP() in props.c. a core prop is not defined by its
propid, but by provider==NULL. add comments to clarify when that happens.
*) fix sub-request creation to include new next-filter arg |
7281ea331999debdc337b02ce37a3169e0e033a2 86972 |
|
15-Nov-2000 |
gstein |
Apply a patch from John Vasta for adding (some/more) DeltaV support to
mod_dav. The patch applied and compiled cleanly, so I'm committing. Any
necessary changes from a review will come later, so that we can easily track
what needed to change (and can be back-ported to mod_dav 1.1).
Submitted by: John Vasta <jvasta@rational.com> |
83719c22db4a6d0575bb4f7f34382d7b185a6f74 86424 |
|
07-Oct-2000 |
gstein |
forward-port John Vasta's checkin to mod_dav 1.1.x (on Sep 25, 2000). this
begins some work to upgrade the versioning support to some of the more
recent drafts.
- get_resource hook has new params
- create_collection hook no longer takes a pool
- new dav_auto_version_info structure to group up autoversion
rollback/commit handling data
- new functions for getting workspace, target-selector, etc
- supportedlock hook now takes the resource in question (since different
resources may have different locks)
- new resource types; tweaks in props.c to support them
- some tweaks with resource creation, Location header, etc. |
8a46775d163c06a8c51d1b0a3f2edfde945cb1d8 86029 |
|
08-Aug-2000 |
stoddard |
Updated patch to fix compile warnings from not including apr_strings.h
Submitted by: Joe Orton <joe@orton.demon.co.uk>
Reviewed by: Bill Stoddard |
1ccd992d37d62c8cb2056126f2234f64ec189bfd 85976 |
|
02-Aug-2000 |
dougm |
prefix libapr functions and types with apr_ |
6b745319b1099edacf401e8911efa480440f999a 85803 |
|
10-Jul-2000 |
gstein |
complete the removal of the old dav_dyn crap. dav plugins are now
implemented entirely through standard Apache modules, hooks, and some
additional registration. |
c23f04a84fa498fb3a919903d1a3f3d6de599426 85802 |
|
10-Jul-2000 |
gstein |
liveprop namespace indexes are 1-based. make room in the marks array. |
d62e704ec47e9dde3798c5a8473a7ade97290652 85801 |
|
10-Jul-2000 |
gstein |
torch just about all of the old dav_dyn stuff. temporarily hard-wire the
liveprop provider setup. this will go away momentarily (another pass). |
75ba48124689705b1eee2b4fe10fe24a2d2467cd 85800 |
|
10-Jul-2000 |
gstein |
new liveprop namespace registration and lookup. modules register each
namespace they will use, which then receives a process-wide index.
get rid of old dav_liveprop_uris global (and minor cleaning in dav_dyn);
encapsulate liveprop handling in liveprop.c.
do not build/use an ns_map; use dav_get_liveprop_ns_index(). |
709df1e1c2e1710570f8cb4209497e88662829c3 85790 |
|
08-Jul-2000 |
gstein |
get rid of more of the old module/provider mechanisms -- use ap_hooks to
look up the plugins' function hook tables. |
ef9f35fdddd77b64d2ed7a073e2c7edd9ec3aced 85782 |
|
07-Jul-2000 |
gstein |
I bunged up Joe's patch. Use the right size in the pcalloc(). |
252e2478cb56afb5ca8585b50bc2ffb780d2efb6 85761 |
|
04-Jul-2000 |
gstein |
Joe Orton writes:
This updates mod_dav for the util_xml changes posted previously:
* dav_xml -> ap_xml, and dav_text -> ap_text renaming
* Add 'dav_elem_private' to hook mod_dav-specific info up to the
parsed XML tree. Initialize this in several places, I think I got
all necessary? [gjs: yes, you did]
* Removal of the old "gross_hack", and all the XML code that was
moved into util_xml
Submitted by: Joe Orton <joe@orton.demon.co.uk>
Reviewed by: Greg Stein |
26250b0077972bf21b6d8a8d23772a4cf53f9477 85751 |
|
03-Jul-2000 |
gstein |
misc const cleanups and others issues found using maintainer-mode
(initial errors found by Ryan Bloom).
also switch to use new command table initializer macros. |
f5ec9b038bb9db933072ba2c0a8e7bb2a3cedbda 85720 |
|
28-Jun-2000 |
gstein |
get the DAV stuff to compile for Apache 2.0. some unpleasantries are in
there, but it *does* compile. |
b0fb330a8581c8bfab5e523084f9f39264a52b12 85718 |
|
28-Jun-2000 |
gstein |
first, obvious step: alter the license/copyright on all mod_dav files. |
f4c310fd2555c6faca1f980f00b161eadb089023 85717 |
|
28-Jun-2000 |
gstein |
initial checkin of the new Apache DAV code. this is a pristine copy of
mod_dav 1.0.1 (tag "V1_0_1" in the mod_dav CVS repository).
For historical information about these files, see the (old) mod_dav web
site at http://www.webdav.org/mod_dav/. CVS repository information can
be located from those pages. |