diff options
author | Jan Pazdziora <jpazdziora@redhat.com> | 2016-03-29 15:56:29 +0200 |
---|---|---|
committer | Jan Pazdziora <jpazdziora@redhat.com> | 2016-05-06 14:04:23 +0200 |
commit | a2a7d80a6ad126877c372df59537ba6482f6b93a (patch) | |
tree | c177e214ea7c725c625b4b1c385ae91826716546 /Makefile | |
parent | 163256e21b1728195034f067913a33f0f09d86d8 (diff) | |
download | mod_intercept_form_submit-a2a7d80a6ad126877c372df59537ba6482f6b93a.tar.gz mod_intercept_form_submit-a2a7d80a6ad126877c372df59537ba6482f6b93a.tar.xz mod_intercept_form_submit-a2a7d80a6ad126877c372df59537ba6482f6b93a.zip |
Add InterceptGETOnSuccess on|off.mod_intercept_form_submit-1.0.1
When the authentication using the POST data passes, the
method of the request is internally changed to GET. This
stops applications and frameworks that insist on running
their own authentication on POST irrespective of REMOTE_USER
value to think that they process GET method.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..67c41e2 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ + +NAME=mod_intercept_form_submit + +SOURCE0 := $(shell spectool $(NAME).spec) +SOURCE := $(shell echo $(SOURCE0) | sed 's%^.*/%%') +NAME_VER := $(shell echo $(SOURCE) | sed 's%\.tar\.gz$$%%') + +all: + @echo 'Usage: make dist to build the .tar.gz' + @echo ' make timestamps set file timestamps to match commit times' + +timestamps: + git ls-files | while read -r f ; do touch -ch -d "$$(git log -1 --format=%ci "$$f")" "$$f" ; done + +dist: + @if test -f ../$(SOURCE) ; then ( echo "The source [../$(SOURCE)] already exists." >&2 ; exit 1 ) ; fi + @mkdir .dist + @mkdir .dist/$(NAME_VER) && cp -rp * .dist/$(NAME_VER) + tar cvzf ../$(SOURCE) -C .dist $(NAME_VER) + @rm -rf .dist + |