summaryrefslogtreecommitdiff
path: root/uri
Commit message (Collapse)AuthorAgeFilesLines
* * Ensure that apr_uri_unparse does not add scheme to URI ifrpluem2007-12-081-8/+3
| | | | | | | | | | | APR_URI_UNP_OMITSITEPART flag is set. PR: 44044 Submitted by: Michael Clark <michael metaparadigm.com> Reviewed by: rpluem git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@602477 13f79535-47bb-0310-9956-ffa450edef68
* Add better scheme/host parsing to apr_uri.pquerna2007-11-131-22/+19
| | | | | | | Submitted by: Henry Jen <henryjen ztune.net> git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@594624 13f79535-47bb-0310-9956-ffa450edef68
* Update license headers.jerenkrantz2007-01-151-6/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@496440 13f79535-47bb-0310-9956-ffa450edef68
* Rollback 426711.jfclere2006-07-311-1/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@427092 13f79535-47bb-0310-9956-ffa450edef68
* Add AJP for Tomcat for example.jfclere2006-07-281-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@426711 13f79535-47bb-0310-9956-ffa450edef68
* Axe a long-dead helper; we don't reference uri_delims.h wrowe2006-03-092-141/+0
| | | | | | | on any platform, anymore. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@384604 13f79535-47bb-0310-9956-ffa450edef68
* Quiet the one warning in apr build on Studio 2005, /GX deprecated.wrowe2006-03-011-2/+2
| | | | | | | /EHsc has always meant the same thing. In the spirit of commit 381915 git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@381919 13f79535-47bb-0310-9956-ffa450edef68
* Fix declarations in apr_uri API.niq2005-12-281-5/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@359522 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.jerenkrantz2005-02-042-2/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@151413 13f79535-47bb-0310-9956-ffa450edef68
* Clean up environment variablesbnicholes2004-12-021-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@109563 13f79535-47bb-0310-9956-ffa450edef68
* Remove .cvsignore files.jorton2004-11-181-16/+0
| | | | | | | Tipped-of-by: Uwe Zeisberger git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@76270 13f79535-47bb-0310-9956-ffa450edef68
* * uri/apr_uri.c (apr_parse_uri): Fix input validation to avoidjorton2004-09-151-5/+5
| | | | | | | | | | | | passing negative length to memcpy for malformed IPv6 literal addresses. * test/testuri.c: Add tests for such malformed URIs. Reviewed by: trawick, madhum git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@59132 13f79535-47bb-0310-9956-ffa450edef68
* Commit Nick Kews patch from bug #28450.dreid2004-06-211-0/+16
| | | | | | | | | | | | Some white space adjustments were needed. The bug report should now be closed. Bug Report: 28450 Obtained from: Nick Kew <nick webthing org> Reviewed by: David Reid <dreid apache org> git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@59058 13f79535-47bb-0310-9956-ffa450edef68
* Stop generating the delimiter table. We only have two of them: one forgstein2004-02-211-2/+42
| | | | | | | | | | | | | | | | | | | | | | | EBCDIC, and one for ASCII. Just encode those directly into apr_uri.c. * Makefile.in: (EXTRACLEAN_TARGETS): no longer reference uri/uri_delims.h * buildconf: - stop calling build/gen-uri-delims.py * include/private/.cvsignore: - remove old reference to uri_delims.h * uri/apr_uri.c: (uri_delims[]): insert two copies of this table. reformatted a bit from the old table (each row is sixteen entries now, for easy hex mapping). select the table based on APR_CHARSET_EBCDIC. * build/gen-uri-delims.py: removed git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58994 13f79535-47bb-0310-9956-ffa450edef68
* Relicense APR under Apache License, Version 2.0.jerenkrantz2004-02-132-98/+20
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58989 13f79535-47bb-0310-9956-ffa450edef68
* First whack at switching to a single top-level make. This adds a dependencygstein2004-02-051-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | upon Python at packaging time, but not at end-user config/build time. As far as I can tell, the build continues to function properly. (out-of-dir config/make not tested, and apr-iconv prolly needs some work) The buildconf scripts now generate a build-outputs.mk file which is included by the root's Makefile (via the build/gen-build.py script). bulid-outputs.mk specifies all of the various files present in the distribution. The top-level Makefiles were simplified to use an $(OBJECTS) symbol rather than 'find'ing them. Similarly, a $(HEADERS) symbol is used for the exports. The corresponding delete-* targets were eliminated since we have a precise set of inputs. The subdirs' Makefiles were removed since they are no longer called/used. The apr-util/uri Makefile was responsible for compiling a C program to generate the uri_delims.h file. That process was replaced by a Python script to generate the header (called by buildconf). The .c and .dsp were left for the Windows build to continue, but that should be revamped. build/apr_rules.mk was revamped somewhat to avoid recursion, but a lot of cleanup is still needed. Much of the recursive/local/x- logic is no longer needed and can be elimianated. rules.mk was created for inclusion by N makefiles, but that isn't really true any more, so it could probably be tossed (caveat: test/Makefile). Saved for a phase 2. Some additional work was added to properly clean up files in */build/, rather than relying on a makefile in there. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58980 13f79535-47bb-0310-9956-ffa450edef68
* Clean up a few minor issues with the NetWare make filebnicholes2004-01-301-3/+3
| | | | | | | Submitted by: "NormW" <normw@bocnet.com.au> git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58976 13f79535-47bb-0310-9956-ffa450edef68
* Axe deprecated functions, #defines, etc. in apr-util.jerenkrantz2003-11-161-6/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58953 13f79535-47bb-0310-9956-ffa450edef68
* As identified by Stas, we were segfaulting when ->scheme was omitted towrowe2003-03-031-5/+20
| | | | | | | | | | | | | | | apr_uri_unparse. Substitute the behavior of dropping "scheme:" from the returned string if the user neglects to pass us a scheme. Also optimize the default port-of-scheme code to drop out quickly for a NULL scheme rather than comparing NULL to every scheme. Solves mod_perl's Apache::compat segfault - they will still need to inject "http" for their scheme if one is not provided to remain compatible with Apache 1.3's behavior. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58861 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright notifications to 2003.thommay2003-01-012-2/+2
| | | | | | | No Functional changes. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58816 13f79535-47bb-0310-9956-ffa450edef68
* Add IPv6 literal address support to apr_uri_parse(), apr_uri_unparse(),trawick2002-10-071-11/+50
| | | | | | | | | and apr_uri_parse_hostinfo(). PR: 11887 git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58779 13f79535-47bb-0310-9956-ffa450edef68
* Renames Pending:thommay2002-07-061-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | This clears the list of renames pending in apr-util. Parts of this list was alreadu done, but the pending list hadn't been updated. apr_hook_debug_current from apr_current_hooking_module apr_hook_debug_show from apr_show_hook apr_hook_global_pool from apr_global_hook_pool apr_hook_sort_all from apr_sort_hooks apr_uri_port_of_scheme from apr_uri_default_port_for_scheme apr_uri_unparse from apr_uri_unparse_components apr_uri_parse from apr_uri_parse_components apr_uri_parse_hostinfo from apr_uri_parse_hostinfo_components apr_uri_t from apr_uri_components All APR_URI_* from all APU_URI_* symbols All APR_UNP_* from all UNP_* symbols git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58681 13f79535-47bb-0310-9956-ffa450edef68
* cvs up/diff gets pretty hard to track with vc7 builds.wrowe2002-06-051-0/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58666 13f79535-47bb-0310-9956-ffa450edef68
* style policejwoolley2002-06-031-122/+135
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58665 13f79535-47bb-0310-9956-ffa450edef68
* Rearrange INCLUDES so that APRUTIL_PRIV_INCLUDES is first to preventjerenkrantz2002-05-081-1/+1
| | | | | | | | | | | installed copies specified by either APR_INCLUDES or APRUTIL_INCLUDES directives from potentially overriding our source includes. Submitted by: Garrett Rooney <rooneg@electricjellyfish.net> Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58615 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.fielding2002-03-132-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58571 13f79535-47bb-0310-9956-ffa450edef68
* Switching from a project build file to GNU make filesbnicholes2002-03-011-0/+257
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58566 13f79535-47bb-0310-9956-ffa450edef68
* Switch APRUTIL over to use the APR_FIND_APR macro provided by APR.gstein2002-02-061-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also cleaned up the configuration (ues apr-config, avoid APRVARS, handle includes better, etc). Revamp all the Makefiles to simplify their INCLUDES handling and to toss the unused srcdir variable. * configure.in: use ../apr/build/find_apr.m4; this will eventually need to change to a copied find_apr, but there is more work for that to happen (we also have to get rules.mk from an installed APR, for instance). revamp all the includes stuff: the INCLUDES symbol was unused. define APRUTIL_INCLUDES for the public includes (will go into apu-config) and APRUTIL_PRIV_INCLUDES for our private stuff (only used in our build). don't worry about setting CFLAGS either. LIBS now uses APR_LIBS, but we probably don't want to set LIBS. * apu-conf.m4: remove custom --with-apr processing and use APR_FIND_APR (from find_apr.m4). tweak some of the fetching-of-flags from APR to use apr-config. * test/Makefile.in: don't refer to libapr.la explicitly. use APR_LIBS. * uri/Makefile.in: create uri_delims.h in BUILD/uri/ rather than our private include area. add the .c file as a dep of apr_uri.lo. ensure that the INCLUDES has an "-I." to pick up the delims. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58551 13f79535-47bb-0310-9956-ffa450edef68
* APRUTIL_INCLUDES now available.ianh2002-01-181-1/+1
| | | | | | | todo: get httpd to link to it. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58525 13f79535-47bb-0310-9956-ffa450edef68
* Fix up VPATH support so that it will survive config.status invocations.jerenkrantz2002-01-041-1/+5
| | | | | | | | | | | - Add srcdir, VPATH, and top_srcdir to all Makefile.in's - Remove configure.in hack to add srcdir and VPATH to all Makefiles - Rely on APR_INCLUDES for APR's path. (Should switch to find_apr.m4 ASAP) - Make all INCLUDES paths relative to top_srcdir/top_builddir rather than relying on ../../../../ (way too confusing to maintain) git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58505 13f79535-47bb-0310-9956-ffa450edef68
* Apply this optimization to apr_uri.c, where apr_strndup() is used a lot.wrowe2001-12-021-10/+10
| | | | | | | Submitted by: Brian Pane <bpane@pacbell.net> git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58479 13f79535-47bb-0310-9956-ffa450edef68
* improve the way we keep gen_uri_delims.lo out of libaprutil.latrawick2001-11-281-1/+0
| | | | | | | | | | | | | old way: remove the object file when we're done linking gen_uri_delims problem: we continually rebuild apr-util since we want to build gen_uri_delims.lo new way: prune gen_uri_delims.lo from the list of files added to libaprutil.la git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58463 13f79535-47bb-0310-9956-ffa450edef68
* We *really* shouldn't be pulling gen_uri_delims.lo into the library.orlikowski2001-11-271-0/+1
| | | | | | | If someone prefers a different way to do this, by all means remove this. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58456 13f79535-47bb-0310-9956-ffa450edef68
* Get VPATH builds working for APR-util again. We need to include bothrbb2001-09-131-1/+1
| | | | | | | | builddir and srcdir include directories if we are going to get all of the header files we need. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58419 13f79535-47bb-0310-9956-ffa450edef68
* Toggle the /Zi flag to allow all supportd versions of VC (5, 6, 7) towrowe2001-08-261-1/+1
| | | | | | | build 'out of the box' in debugging mode. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58408 13f79535-47bb-0310-9956-ffa450edef68
* s/APU_URI_/APR_URI_/gdougm2001-08-191-20/+20
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58388 13f79535-47bb-0310-9956-ffa450edef68
* renaming apr_uri_ api:dougm2001-08-191-7/+7
| | | | | | | | | | | | | | | apr_uri_components -> apr_uri_t apr_uri_unparse_components -> apr_uri_unparse apr_uri_parse_components -> apr_uri_parse apr_uri_parse_hostinfo_components -> apr_uri_parse_hostinfo PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58387 13f79535-47bb-0310-9956-ffa450edef68
* namespace protection: s/UNP_*/APR_URI_UNP_*/dougm2001-08-191-13/+13
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58386 13f79535-47bb-0310-9956-ffa450edef68
* apr_uri_unparse_components can unparse components into an invalidjerenkrantz2001-08-181-1/+3
| | | | | | | | | | | | | | | | | | | | | | URI. If the components contain either a user or password, the unparsed URI will always contain an '@' symbol. This is incorrect, since the UNP_OMITPASSWORD and UNP_OMITUSER flags can affect this functionality. I.e. if the components contain either a user or password, and flags to omit both the user and password from the unparsed URI are given, the output should contain no '@' symbol. RFC 2396 says: server = [ [ userinfo "@" ] hostport ] When we omit the userinfo portion (i.e. both OMITPASSWORD and OMITUSER are set), we should omit the "@" character. Submitted by: Jon Travis <jtravis@covalent.net> Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58378 13f79535-47bb-0310-9956-ffa450edef68
* The last of the ignore goodness for tonightwrowe2001-08-171-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58376 13f79535-47bb-0310-9956-ffa450edef68
* The purpose of this patch is to toggle the debugging mode (default) towrowe2001-08-171-3/+7
| | | | | | | | | | | | | | | | Program Database (from Program Database for Modify on the fly debugging). The net effect of this patch is to clean up all of the irrelevant entries associated with either the debugging or release command line switches, and generally straighten the projects as they would be exported from VC6/SP5. The outcome of this patch is that VC5 users -should- be able to load and build the workspace without any errors (as they used to have no symbols database at all, the /ZI option doesn't work, they had to use cvtdsp.pl to toggle these to /Zi.) git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58375 13f79535-47bb-0310-9956-ffa450edef68
* Given a choice between chasing my tail to keep these updated, and rollingwrowe2001-08-171-170/+0
| | | | | | | a set when we actually roll a tarball, I'll take the later, thank you. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58374 13f79535-47bb-0310-9956-ffa450edef68
* Update for the 2.0.23 tagwrowe2001-08-071-53/+20
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58353 13f79535-47bb-0310-9956-ffa450edef68
* Convert apr-util to use APR's build directory. This greatly simplifiesrbb2001-07-301-0/+3
| | | | | | | apr-util's build system, because it has basically been removed. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58339 13f79535-47bb-0310-9956-ffa450edef68
* Poor formwrowe2001-07-181-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58327 13f79535-47bb-0310-9956-ffa450edef68
* Something here, nothing therewrowe2001-07-181-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58326 13f79535-47bb-0310-9956-ffa450edef68
* Fix the funny make dependency between apr_uri.c andrbb2001-07-131-4/+4
| | | | | | | | uri_delims.h that causes it to always build apr_uri.c whether it needs to or not. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58325 13f79535-47bb-0310-9956-ffa450edef68
* uri_delims.h movedtrawick2001-07-101-1/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58322 13f79535-47bb-0310-9956-ffa450edef68
* Allow all parts of Apache 2.0 to build when --srcdir is used. Thisrbb2001-07-091-1/+1
| | | | | | | | | | | | | | | required exposing a build directory and a source directory to all parts of Apache's build system. It also required a small hack in APR-util, if we are using the bundled Expat, and we are using VPATH support, then we have hard-coded the xml/expat location. I couldn't figure out how to allow the configure script to determine the correct location. I added a comment, but if somebody else figures it out, we should fix that at some point. PR: 7630 git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58320 13f79535-47bb-0310-9956-ffa450edef68
* Fix dependency for apr_uri.lo.jerenkrantz2001-07-031-0/+2
| | | | | | | | | | We actually need the dependency because we need uri_delims.h to be generated before compiling apr_uri.lo. Submitted by: Joe Orton <jorton@btconnect.com> Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58317 13f79535-47bb-0310-9956-ffa450edef68