Michael
518382036b
Exception handling added at many places
2024-08-25 18:35:24 +00:00
Tobias Diekershoff
30a5ef33b0
REUSE src directory
2024-08-24 15:27:00 +02:00
Michael
dca93a9606
Enable "magic" with Hubzilla
2024-05-26 12:44:08 +00:00
Michael
1c66d49599
"Network::unparseURL" is replaced with "Uri::fromParts"
2024-05-14 21:47:57 +00:00
Michael
e12f92e516
Some more deprecated function calls are replaced
2024-05-14 19:21:25 +00:00
Michael
5751e024c0
Request type set for all HTTP requests
2024-05-12 17:53:21 +00:00
Michael
afff2b949f
Improved user agent string
2024-05-10 09:01:43 +00:00
Michael
78dc61b59e
Fallback mechanism for missing IDN functions
2024-04-06 11:26:12 +00:00
Michael Vogel
d5c0f086bd
Disallow mail addresses for registration ( #13920 )
...
* Disallow mail addresses for registration
* Order for allow/disallow has been changed
2024-02-19 09:33:20 +01:00
Michael Vogel
cb294cf411
Avoid problems with an empty domain in the blocklist ( #13919 )
...
* Avoid problems with an empty domain in the blocklist
* Test code removed
2024-02-19 07:22:19 +01:00
Michael
061f43788c
Sanitize links before storing them
2024-02-12 05:21:13 +00:00
Michael
89e7420237
Friendica copyright changed from 2023 to 2034
2024-01-02 20:57:26 +00:00
Michael
9b73189e1d
Renamed function name
2023-12-05 19:55:27 +00:00
Michael
7b1b3fe8cf
Fix exception, when a provided URI is invalid
2023-12-05 05:24:33 +00:00
Hypolite Petovan
148c1c7e1a
Add new BaseUrl->isLocalUri and BaseUrl->isLocalUrl methods
...
- Deprecate Util\Network->isLocalLink to reduce dependency on DI class
2023-07-26 19:11:39 +02:00
Michael
d1af85b27f
Handle exception on "head" / missing class variable added
2023-04-11 02:11:39 +00:00
Josh Soref
2172d44c33
spelling: maybe
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:15 -04:00
Daniel Siepmann
6633b0af4b
Properly handle feed item urls with surrounding whitespace
...
Some feeds might have whitespace around the URLs of each item.
This can't be handled by parse_url.
Therefore the incoming url is trimmed to not contain any surrounding
whitespace for proper handling.
Relates: #12658
2023-01-12 13:47:57 +01:00
Hypolite Petovan
a907d6c87b
Add UriInterface-enabled isUriBlocked method in Util\Network
2023-01-04 14:41:08 -05:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Philipp
477bec1977
Fix some PHP8.1 issues if possible
2022-11-09 23:58:23 +01:00
Roland Häder
4c6940583a
Changes:
...
- added missing type-hints
- first access level, then static
- reformatted code following code-style
2022-08-19 19:12:30 +02:00
Michael
0971bcf165
Make the tests happy
2022-07-29 16:05:04 +00:00
Michael
8b7cb5d9ef
Merge remote-tracking branch 'upstream/develop' into server-detection
2022-07-16 12:44:21 +00:00
Michael
abe3fd7605
Improved check for invalid certificates
2022-07-16 08:27:38 +00:00
Michael
896fd3fc91
Use the redirect value
2022-07-14 05:39:25 +00:00
Michael
cc75eb5d18
Improved server detection
2022-07-05 05:04:05 +00:00
Roland Häder
657a8a7cb5
Changes:
...
- documented null value
- two ' to much!
2022-06-23 17:30:17 +02:00
Roland Häder
fd8f4269ff
Reformatted code
2022-06-23 17:30:17 +02:00
Michael
0f0b649e8d
Replace unparse function
2022-05-11 11:06:14 +00:00
Michael
020ba7a4ed
The function is now usable for all formats
2022-05-11 06:58:26 +00:00
Michael
695e3d8b61
Simplifiy the split
2022-05-11 06:55:02 +00:00
Michael
47808ab0e9
Issue 11487: IDN support added
2022-05-11 06:34:25 +00:00
Michael
5290f0cd51
Improved handling of invalid links
2022-04-03 07:31:42 +00:00
Michael
029daef997
Only use and accept valid http links as links to an external resource
2022-04-03 07:21:36 +00:00
Philipp
322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
...
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Hypolite Petovan
d05d2a348b
Deprecate Network::unparseURL in favor of UriInterfact objects
...
- Added specific test for Probe::cleanURI
2021-12-03 17:39:31 -05:00
Michael
4236a9a105
Improved http error handling
2021-10-29 23:21:07 +00:00
Michael
f6faae5bb1
Replace deprecated `log` calls
2021-10-20 18:53:52 +00:00
Michael
785f8124ed
Issue 10306: Improve local delivery
2021-05-26 09:24:37 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
55e169db49
Configurable list of domains to ignore redirects
2020-09-16 04:56:37 +00:00
Michael
d9fc0ae0ea
Using a constant value for the default avatar
2020-08-18 20:30:24 +00:00
nupplaPhil
60e18736b0
Move "Network::finalUrl" to "HTTPRequest" class
2020-07-21 03:09:40 -04:00
nupplaPhil
57587efe58
Move "getUserAgent()" to "HTTPRequest" class
2020-07-21 03:04:58 -04:00
nupplaPhil
5344efef71
Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest"
2020-07-21 02:56:10 -04:00
Michael
81928727f2
Issue 8866: Fix fetching feed links with missing base
2020-07-12 12:45:34 +00:00
Hypolite Petovan
f96d1fbd0b
Add Network::checkEtagModified method
2020-04-05 17:58:09 -04:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files
2020-02-09 16:18:46 +01:00