Andrew Dolgov
|
2ae0b7059f
|
cleanup some defined-stuff
|
2021-02-23 09:01:27 +03:00 |
Andrew Dolgov
|
211f699aa0
|
migrate the rest into Config::
|
2021-02-22 22:35:27 +03:00 |
Andrew Dolgov
|
b6e1a5c91a
|
fix several warnings reported by phpstan
|
2021-02-06 17:19:07 +03:00 |
Andrew Dolgov
|
403dca154c
|
initial WIP for php8; bump php version requirement to 7.0
|
2021-02-05 23:41:32 +03:00 |
wn
|
95d0cb4953
|
Handle potential absence of a URL path in UrlHelper.
|
2020-12-12 10:28:53 -06:00 |
Andrew Dolgov
|
328d7b55c8
|
URLHelper: fix E_DEPRECATED error related to idn_to_ascii()
|
2020-11-14 15:13:35 +03:00 |
Andrew Dolgov
|
c70e26db31
|
validate url: feed urlencoded() URL to filter_var() only
|
2020-09-28 19:46:31 +03:00 |
Andrew Dolgov
|
8fb2baecdc
|
another hack for validation of URLs with invalid characters
|
2020-09-22 19:56:26 +03:00 |
Andrew Dolgov
|
a897c4165b
|
validate URLs: convert IDN to punycode before passing URL to filter_var()
|
2020-09-22 15:32:22 +03:00 |
Andrew Dolgov
|
6811d0bde2
|
use self:: in some places to invoke static methods from the same class
|
2020-09-22 14:54:15 +03:00 |
Andrew Dolgov
|
b5710baf34
|
- don't fail on non-ascii characters when validating URLs
- fix IDN hostnames not being converted properly
|
2020-09-22 14:37:45 +03:00 |
Andrew Dolgov
|
ab6aa0ad3e
|
fix previous re: resolve_redirects
|
2020-09-22 09:18:24 +03:00 |
Andrew Dolgov
|
74568df4ff
|
remove a lot of stuff from global context (functions.php), add a few helper classes instead
|
2020-09-22 09:04:33 +03:00 |