summaryrefslogtreecommitdiffstats
path: root/modules/mappers (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Correct the behaviour of CheckCaseOnly in mod_speling, according to the doc.Christophe Jaillet2013-07-211-1/+1
| | | | | | PR 44221 [Rainer Perske <perske uni-muenster de>] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1505279 13f79535-47bb-0310-9956-ffa450edef68
* include util_charset.h in ebcdic buildsEric Covener2013-07-021-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1499025 13f79535-47bb-0310-9956-ffa450edef68
* Remove useless tests.Christophe Jaillet2013-03-033-6/+6
| | | | | | | | | Turn if (*x && apr_isspace(*x)) into if (apr_isspace(*x)) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1452128 13f79535-47bb-0310-9956-ffa450edef68
* Unbreak default case of RewriteBase not being set after r1410681Eric Covener2013-02-181-0/+3
| | | | | | | | Contributed By: Evgeny Barsukov Reviewed By: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1447426 13f79535-47bb-0310-9956-ffa450edef68
* fix r1416889 a different way -- the referer should be const too.Eric Covener2012-12-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422253 13f79535-47bb-0310-9956-ffa450edef68
* const fixes for mod_imagemap, fatal on old xlc due to returning ↵Eric Covener2012-12-151-7/+7
| | | | | | | | | | apr_table_get result from non const function. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422234 13f79535-47bb-0310-9956-ffa450edef68
* Fixed type mismatch.Guenter Knauf2012-12-041-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1416889 13f79535-47bb-0310-9956-ffa450edef68
* CVE-2012-3499 and CVE-2012-4558Jim Jagielski2012-11-261-8/+18
| | | | | | | Be sure to escape potential troubled strings git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1413732 13f79535-47bb-0310-9956-ffa450edef68
* PR53963: don't merge the rewritebase down w/o an opt-inEric Covener2012-11-171-2/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1410681 13f79535-47bb-0310-9956-ffa450edef68
* Remove warningsJim Jagielski2012-11-091-4/+6
| | | | | | | | | mod_speling.c:400:41: warning: data argument not used by format string [-Wformat-extra-args] r->uri, nuri, ref); mod_speling.c:508:53: warning: data argument not used by format string [-Wformat-extra-args] r->uri, candidates->nelts, ref); git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1407460 13f79535-47bb-0310-9956-ffa450edef68
* cppcheck: arrayIndexThenCheck - change the order of the tests in order to ↵Christophe Jaillet2012-10-151-1/+1
| | | | | | | | | avoid a potential out-of-bound access. I think that this module is obsolete, but doing so reduces the noise in cppcheck output... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1398480 13f79535-47bb-0310-9956-ffa450edef68
* ccpcheck: duplicateExpression - 'vary_by_language' is tested twiceChristophe Jaillet2012-10-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1398478 13f79535-47bb-0310-9956-ffa450edef68
* FallbackResource : Support for the 'disabled' argumentVincent Deffontaines2012-10-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1398066 13f79535-47bb-0310-9956-ffa450edef68
* NetWare build tweaks.Guenter Knauf2012-08-096-11/+11
| | | | | | | | | Make more use of internal makefile macros; axed now obsolete include paths. Submitted by: normw gknw net. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1371177 13f79535-47bb-0310-9956-ffa450edef68
* remove now unecessary assignmentStefan Fritsch2012-08-061-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1369999 13f79535-47bb-0310-9956-ffa450edef68
* Use apr_pcalloc for rewritemap_entry struct, to avoid uninitialized entries.Stefan Fritsch2012-08-061-14/+2
| | | | | | | | PR: 53663 Submitted by: Mikhail T. <mi apache aldan algebra com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1369995 13f79535-47bb-0310-9956-ffa450edef68
* style fixStefan Fritsch2012-07-101-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1359857 13f79535-47bb-0310-9956-ffa450edef68
* add a pointer to 'rewriteoptions', without giving away the option name, if ↵Eric Covener2012-07-031-1/+3
| | | | | | | | | someone happens to have rewrite trace on when mod_rewrite declines a non URL-path. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1356813 13f79535-47bb-0310-9956-ffa450edef68
* * modules/mappers/mod_rewrite.c (cmd_rewriteoptions, hook_uri2file):Joe Orton2012-07-021-2/+12
| | | | | | | | | | | | Add "AllowAnyURI" flag which disables the strict URL-path input string check introduced to fix CVE-2011-3368/CVE-2011-4317. * docs/manual: Update docs. Inspired by: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1356115 13f79535-47bb-0310-9956-ffa450edef68
* SECURITY: CVE-2012-2687 (cve.mitre.org):Joe Orton2012-06-131-2/+2
| | | | | | | | | | | | | | mod_negotiation: Escape filenames in variant list to prevent an possible XSS for a site where untrusted users can upload files to a location with MultiViews enabled. * modules/mappers/mod_negotiation.c (make_variant_list): Escape filenames in variant list. Submitted by: Niels Heinen <heinenn google.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1349905 13f79535-47bb-0310-9956-ffa450edef68
* Replace use of apr_file_write() with apr_file_write_full() to preventStefan Fritsch2012-04-261-3/+5
| | | | | | | | | | | | incomplete writes. Add comments in some places where error handling/logging is missing. PR: 53131. Submitted by: Nicolas Viennot <apache viennot biz>, Stefan Fritsch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331110 13f79535-47bb-0310-9956-ffa450edef68
* mod_rewrite: Fix RewriteCond integer checks to be parsed correctly.André Malo2012-04-041-31/+53
| | | | | | | | | PR: 53023 Submitted by: Axel Reinhold <apache freakout.de> Reviewed/Updated by: nd git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1309602 13f79535-47bb-0310-9956-ffa450edef68
* static scope for rewritemap_mutex_type.André Malo2012-04-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1309585 13f79535-47bb-0310-9956-ffa450edef68
* PR52845: "DirectoryIndex disabled" should blow away the DirectoryIndex settingsEric Covener2012-03-071-0/+1
| | | | | | | in the current config section, not just override previous config sections. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1297958 13f79535-47bb-0310-9956-ffa450edef68
* revert "overloaded" recent additions to mod_rewriteEric Covener2012-02-021-23/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1239872 13f79535-47bb-0310-9956-ffa450edef68
* add an internal sleep map function that expands to an empty string.Eric Covener2012-02-021-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1239681 13f79535-47bb-0310-9956-ffa450edef68
* treat a rewriterule substitution that expands to "-" as if the ruleEric Covener2012-02-021-1/+7
| | | | | | | had a literal "-". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1239679 13f79535-47bb-0310-9956-ffa450edef68
* https also needs QSJim Jagielski2012-01-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1236350 13f79535-47bb-0310-9956-ffa450edef68
* Adjust CVE-2011-3368/CVE-2011-4317 fixes to rely solely on Jeff Trawick2012-01-191-9/+2
| | | | | | | | | | | | | | core's translate-name to fail unsupported URIs. Rewrite and proxy now decline what they don't support rather than fail the request. Suggested by: trawick Implemented by: jorton Tweaked by: wrowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1233604 13f79535-47bb-0310-9956-ffa450edef68
* Further clarify the naming of the entity that originates the request byGraham Leggett2011-12-141-3/+3
| | | | | | | calling that entity a useragent instead of a client. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214003 13f79535-47bb-0310-9956-ffa450edef68
* Add lots of unique tags to error log messagesStefan Fritsch2011-12-035-39/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209766 13f79535-47bb-0310-9956-ffa450edef68
* Fix for additional cases of URL rewriting with ProxyPassMatch orJoe Orton2011-12-021-0/+12
| | | | | | | | | | | | | | | RewriteRule, where particular request-URIs could result in undesired backend network exposure in some configurations. (CVE-2011-4317) Thanks to Prutha Parikh from Qualys for reporting this issue. * modules/proxy/mod_proxy.c (proxy_trans): Decline to handle the "*" request-URI. Fail for cases where r->uri does not begin with a "/". * modules/mappers/mod_rewrite.c (hook_uri2file): Likewise. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209432 13f79535-47bb-0310-9956-ffa450edef68
* mod_rewrite: Add the AllowNoSlash RewriteOption, which makes it possibleGraham Leggett2011-12-011-2/+7
| | | | | | | | for RewriteRules to be placed in .htaccess files that match the directory with no trailing slash. PR 48304. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209053 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused variable.Graham Leggett2011-11-251-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1206330 13f79535-47bb-0310-9956-ffa450edef68
* Introduce a per connection "peer_ip" and a per request "client_ip" toGraham Leggett2011-11-251-3/+3
| | | | | | | | distinguish between the raw IP address of the connection and the effective IP address of the request. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1206291 13f79535-47bb-0310-9956-ffa450edef68
* Use ap_pass_brigade_fchk()Jim Jagielski2011-11-231-10/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1205423 13f79535-47bb-0310-9956-ffa450edef68
* mod_negotiation: don't return non-AP_FILTER_ERROR filter return values Eric Covener2011-11-231-1/+11
| | | | | | | to ap_run_handler() when sending a body directly from a type-map. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1205274 13f79535-47bb-0310-9956-ffa450edef68
* Introduce a per request version of the remote IP address, which can beGraham Leggett2011-11-221-3/+3
| | | | | | | | optionally modified by a module when the effective IP of the client is not the same as the real IP of the client (such as a load balancer). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1204968 13f79535-47bb-0310-9956-ffa450edef68
* Change module sets and default activation status:Rainer Jung2011-11-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Promoted from "most" to "few" - mod_headers 2) Demoted from "yes" to "most" - mod_actions - mod_allowmethods - mod_auth_form - mod_buffer - mod_cgi(d) - mod_include - mod_negotiation - mod_ratelimit - mod_request - mod_userdir Remember: default module set is "most", but only the LoadModule lines of all modules except "yes" are commented out by default. The following modules will now be loaded by default: - mod_access_compat - mod_alias - mod_auth_basic - mod_authn_core - mod_authn_file - mod_authz_core - mod_authz_groupfile - mod_authz_host - mod_authz_user - mod_autoindex - mod_dir - mod_env - mod_filter - mod_headers - mod_log_config - mod_mime - mod_mpm_event - mod_reqtimeout - mod_setenvif - mod_status - mod_unixd - mod_version git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1201111 13f79535-47bb-0310-9956-ffa450edef68
* More error checking for ap_pregsubStefan Fritsch2011-11-071-0/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1198988 13f79535-47bb-0310-9956-ffa450edef68
* Downgrade error log messages which accompany a 404 request status from loglevelStefan Fritsch2011-10-081-1/+1
| | | | | | | | | | | | error to info. List thread at http://mail-archives.apache.org/mod_mbox/httpd-dev/201110.mbox/%3Calpine.DEB.2.00.1110041948280.664@eru.sfritsch.de%3E PR: 35768 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180328 13f79535-47bb-0310-9956-ffa450edef68
* No longer do double duty...Jim Jagielski2011-09-261-12/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1175979 13f79535-47bb-0310-9956-ffa450edef68
* More cleanup: Expand tabs and some more indentation fixesStefan Fritsch2011-09-231-1/+1
| | | | | | | No functional change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174929 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup effort in prep for GA push:Jim Jagielski2011-09-235-36/+36
| | | | | | | | Trim trailing whitespace... no func change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174751 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup effort in prep for GA push:Jim Jagielski2011-09-231-1/+1
| | | | | | | | Trim trailing whitespace... no func change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174748 13f79535-47bb-0310-9956-ffa450edef68
* replace non-threadsafe use of srand() and rand() with ap_random_pick()Stefan Fritsch2011-09-151-15/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1171251 13f79535-47bb-0310-9956-ffa450edef68
* refactor to pull setting of Accept-Ranges header into http_protocol.c whichEric Covener2011-09-081-1/+1
| | | | | | | | had been copied to other handlers. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1166663 13f79535-47bb-0310-9956-ffa450edef68
* Prevent a crash if a non-existent internal RewriteMap is specifiedEric Covener2011-08-081-2/+2
| | | | | | | | | | | in a server context with RewiteEngine off, then later referenced. Submitted By: Ben Noordhuis Reviewed By: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1154808 13f79535-47bb-0310-9956-ffa450edef68
* Forbid some directives in .htaccess because of AllowOverrideList:Stefan Fritsch2011-08-041-5/+11
| | | | | | | | | | | | | core: AllowOverride, AllowOverrideList mod_authn_dbd: AuthDBDUserPWQuery, AuthDBDUserRealmQuery mod_authz_dbd: AuthzDBDQuery, AuthzDBDRedirectQuery mod_proxy: BalancerMember, ProxySet Adjust for use in .htaccess: mod_actions: Script git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1153687 13f79535-47bb-0310-9956-ffa450edef68
* Make the SERVER_NAME variable include [ ] for literal IPv6 addresses, asStefan Fritsch2011-07-171-1/+1
| | | | | | | | | mandated by RFC 3875 PR: 26005 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1147614 13f79535-47bb-0310-9956-ffa450edef68