Andrew Dolgov
|
afc7142250
|
move all $fetch globals to UrlHelper
|
4 years ago |
Andrew Dolgov
|
2ae0b7059f
|
cleanup some defined-stuff
|
4 years ago |
Andrew Dolgov
|
211f699aa0
|
migrate the rest into Config::
|
4 years ago |
Andrew Dolgov
|
b6e1a5c91a
|
fix several warnings reported by phpstan
|
4 years ago |
Andrew Dolgov
|
403dca154c
|
initial WIP for php8; bump php version requirement to 7.0
|
4 years ago |
wn
|
95d0cb4953
|
Handle potential absence of a URL path in UrlHelper.
|
4 years ago |
Andrew Dolgov
|
328d7b55c8
|
URLHelper: fix E_DEPRECATED error related to idn_to_ascii()
|
4 years ago |
Andrew Dolgov
|
c70e26db31
|
validate url: feed urlencoded() URL to filter_var() only
|
4 years ago |
Andrew Dolgov
|
8fb2baecdc
|
another hack for validation of URLs with invalid characters
|
4 years ago |
Andrew Dolgov
|
a897c4165b
|
validate URLs: convert IDN to punycode before passing URL to filter_var()
|
4 years ago |
Andrew Dolgov
|
6811d0bde2
|
use self:: in some places to invoke static methods from the same class
|
4 years ago |
Andrew Dolgov
|
b5710baf34
|
- don't fail on non-ascii characters when validating URLs
- fix IDN hostnames not being converted properly
|
4 years ago |
Andrew Dolgov
|
ab6aa0ad3e
|
fix previous re: resolve_redirects
|
4 years ago |
Andrew Dolgov
|
74568df4ff
|
remove a lot of stuff from global context (functions.php), add a few helper classes instead
|
4 years ago |