Ian Littman
bd487306ae
Use HTTPS URL for event submission to main.php.net, match spam check expectation to web-master ( #1017 )
...
* Use HTTPS URL for event submission to main.php.net
Resolves #999
At some point in the past 12 years (this line was modified in the last 3 years
but I doubt it got tested when modified) main.php.net started redirecting
insecure HTTP to HTTPS, including for POSTs. The catch with those redirects is
that POSTs won't get resubmitted when redirected, so when submitting an event
the redirect would result in a GET with no parameters to the event submission
endpoint, hence "Missing parameters." So event submission has been broken since
main.php.net started redirecting HTTP to HTTPS.
Back in 2012 there was an attempt to switch this and other URLs to HTTPS, but
it got rolled back because "there could be mirrors without ssl support." (see
blame for the line this commit modifies). Since then, mirrors have been phased
out, so we can safely assume we're calling HTTPS endpoints now (and that's the
only way this will work anyway).
Verified by hitting the mentioned endpoint both on HTTP and HTTPS. HTTP gets
redirected and fails due to missing parameters, HTTPS makes it through to the
next step.
* Match "sane" value on event submission to web-master expectation
This reverts part of f1b8134041 as that wasn't quite the right fix
2024-06-23 12:22:22 +03:00
Andreas Möller
00342c402f
Fix: Remove vim instruction ( #880 )
2023-12-07 15:01:52 +01:00
Andreas Möller
c093fb5382
Enhancement: Enable trailing_comma_in_multiline fixer ( #647 )
...
* Enhancement: Enable and configure trailing_comma_in_multiline fixer
* Fix: Run 'make coding-standards'
2023-12-06 23:16:28 +00:00
Andreas Möller
1ebc2c4996
Enhancement: Enable binary_operator_spaces fixer
...
Closes GH-667.
2022-08-22 19:17:38 +02:00
Andreas Möller
d9bcfed482
Enhancement: Enable array_syntax fixer
...
Co-authored-by: MathiasReker <mathias@reker.dk >
Closes GH-659.
2022-08-22 18:59:14 +02:00
Andreas Möller
f127de5db9
Enhancement: Enable strict_param fixer
...
We set strict param to false to ensure current behavior,
except for two cases where it is safe to go with true.
Closes GH-658.
2022-07-15 14:48:44 +02:00
Andreas Möller
aab787eb10
Enhancement: Enable array_indentation fixer
...
Closes GH-634.
2022-07-12 12:25:12 +02:00
Andreas Möller
c68e5a9e4a
Enhancement: Enable single_space_after_construct fixer
...
Closes GH-640.
2022-07-12 11:44:23 +02:00
Andreas Möller
f3585d9bdf
Enhancement: Enable indentation_type fixer
...
Closes GH-622.
2022-07-11 20:34:20 +02:00
Andreas Möller
4b3e3c9a6b
Enhancement: Enable whitespace_after_comma_in_array fixer
...
Closes GH-637.
2022-07-11 20:13:00 +02:00
Kamil Tekiela
4e251d6993
Remove duplicated !isset($var) ( #570 )
2022-06-28 12:45:50 +01:00
Mathias Reker ⚡️
6f06ab9a28
Short scalar cast ( #531 )
2022-06-28 12:09:43 +01:00
Mathias Reker ⚡️
530b28e95b
Add void return types
...
Add void return type to functions with missing or empty return statements.
Closes GH-535.
2022-06-17 19:16:52 +02:00
Sara Golemon
ae006c3288
Migrate away from strftime
2021-07-05 14:55:45 +00:00
Rasmus Lerdorf
1d4be620ad
Remove references to master.php.net
2021-04-05 21:56:10 -07:00
Sara Golemon
cfc6b38ec8
Goodbye Magic Quotes
2019-07-10 13:45:01 -04:00
Sara Golemon
2735e5f03f
Swap uses of _SERVER[DOCUMENT_ROOT] for __DIR__
...
1/n - Update / and /include/ only.
2019-05-31 11:19:09 -04:00
Kalle Sommer Nielsen
f1b8134041
Attempt at hopefully fixing some of the spam coming to the event calendar:
...
- Move the sanity check option around
- The long description must now contain the word "PHP"
2019-03-17 22:47:36 +02:00
Peter Kokot
e235f79473
Trim trailing whitespace
...
This patch cleans all redundant trailing whitespace across the
repository except for the icalendar files.
2018-10-17 10:51:08 +02:00
Peter Kokot
0f95b8c709
Remove unused Git attributes ident
...
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
2018-10-17 07:29:46 +02:00
Sobak
384d23f32d
Maybe it will save us some effort...
...
I doubt it myself but why not to try?
2017-11-19 06:53:20 +01:00
Hannes Magnusson
32a0841f3c
Remove conference option and direct people to mail in the event
2014-09-26 09:41:06 -07:00
Michael
1c41366df8
Revert "Replace <small> with <span style"
...
This reverts commit 12f04c0d4a .
2014-06-06 23:48:35 +02:00
Michael
12f04c0d4a
Replace <small> with <span style
...
Replace <small> with <span style="font-size:0.8em"> because the
definition of <small> is a complete other with HTML5
2014-06-05 20:35:30 +02:00
Michael
5bfef25e70
Kill off XHTML
...
Long live HTML5! =)
2014-06-04 19:39:27 +02:00
danbrown
ccbfdb71e1
Though it doesn't make much of a difference, really, we don't need to specify 2001 as the year.
2013-10-01 15:09:37 -04:00
Adam Harvey
b51b2d08fe
Work through the remaining FIXME pages; put them in their correct categories,
...
and update aged markup as appropriate.
Yes, I did check the new markup on the non-beta site too.
2012-09-07 17:52:03 +08:00
Ferenc Kovacs
3866e9ed7e
Revert "now that posttohost() supports ssl, we should use https here" as there could be mirrors without ssl support.
...
This reverts commit 1511842d06 .
2012-08-06 00:12:13 +02:00
Ferenc Kovacs
1511842d06
now that posttohost() supports ssl, we should use https here
2012-08-05 21:52:37 +02:00
Rasmus Lerdorf
eb81c4b5e3
Gah! posttohost() doesn't speak ssl
2012-01-22 07:32:24 +00:00
Rasmus Lerdorf
52af0c2fe2
Remove transitional master2 hostname
2012-01-22 02:46:15 +00:00
Rasmus Lerdorf
44a352047a
use master2
2012-01-20 05:15:17 +00:00
Daniel P. Brown
77621cef87
Slightly improved address and domain-matching SPAM prevention mechanism.
2011-08-22 13:33:56 +00:00
Daniel P. Brown
66a794dfab
Shut up, Ruby.
2011-08-14 16:31:38 +00:00
Philip Olson
6afd67a35c
Disable another annoying user
2010-12-31 05:51:57 +00:00
Hannes Magnusson
60d5c3b903
Add current config option (ignored in old-web), and FIXME placeholders for pages
...
not in any menu yet
2010-12-28 11:09:09 +00:00
Adam Harvey
a74b0895b9
Fix bug #52204 (htmlentities E_WARNINGs). Patch by Kalle.
2010-10-29 12:08:16 +00:00
Daniel P. Brown
8fe2436b50
Temporary fix, by no means a permanent solution.
2010-09-02 05:52:20 +00:00
Philip Olson
9185a1c74b
Only post to master if no errors exist. And removed PCRE, not needed.
2010-06-12 02:34:33 +00:00
Hannes Magnusson
b5efc2f206
robot, me.
2009-04-26 17:28:17 +00:00
Hannes Magnusson
65fe719115
Whoopsy, it takes the index, not the value
2009-04-16 14:15:52 +00:00
Hannes Magnusson
b1747f08aa
Add an AI to detect spammers
2009-04-16 14:13:03 +00:00
Hannes Magnusson
ca9183465f
Fixed full path disclosure reported by John McKenzie
2008-02-14 08:33:38 +00:00
Rasmus Lerdorf
01908cfdca
gah
2007-06-24 20:28:53 +00:00
Hannes Magnusson
b41ebd4228
entitify quotes and use utf8 (patch by Johannes)
2007-06-04 16:57:57 +00:00
Hannes Magnusson
fb0c225a64
Get rid of register_globals leftover
2007-02-11 14:37:44 +00:00
Hannes Magnusson
dbaabcc635
Get rid of empty(trim())
...
Fix vim modeline to expand-tabs-to-spaces
2007-02-11 14:23:02 +00:00
Mehdi Achour
20394da5ff
Fix variable name
...
@ thanks to mazzanet
2007-02-11 10:04:49 +00:00
Rasmus Lerdorf
44bd5b2a20
Better URL check here
2007-02-11 06:55:53 +00:00
Hannes Magnusson
5060ed88d2
Fixed bug#39981 (Can not submit user group event containing the word "test")
2007-01-06 17:05:07 +00:00