Commit graph

526 commits

Author SHA1 Message Date
Hypolite Petovan
b26d225136 Restrict character class for charset capture in Util\ParseUrl
- Address https://github.com/friendica/friendica/issues/9252#issuecomment-698742359
2020-09-25 11:36:09 -04:00
Hypolite Petovan
f52d44554e Add style and script tag escaping when parsing charset in Util\ParseUrl
- Address https://github.com/friendica/friendica/issues/9251#issuecomment-698086677
2020-09-25 06:55:52 -04:00
Hypolite Petovan
3038e4a3f9
Merge pull request #9262 from nupplaphil/phpmailer_fix
E-Mail Message-ID & Newline fix
2020-09-23 14:22:12 -04:00
Philipp
3eaaf716e9
just log double message IDs, don't discard the email 2020-09-23 19:38:20 +02:00
Hypolite Petovan
2cb87aca33 Improve charset detection in Util\ParseUrl
- Pages with charset meta tag weren't properly decoded
2020-09-22 20:35:36 -04:00
Philipp
e2b736d0a9
Fix phpmailer (Case sensitive Check) 2020-09-22 22:48:34 +02:00
Philipp
545517e85f
Add protected mail function for testability 2020-09-22 21:08:36 +02:00
Hypolite Petovan
acd6fd7dd3 Add expected method MailBuilder->withHeaders
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-696055412
2020-09-21 11:07:34 -04:00
Hypolite Petovan
a852455d0e Merge remote-tracking branch 'friendica/stable' into develop
# Conflicts:
#	composer.lock
2020-09-20 15:32:58 -04:00
Hypolite Petovan
722aada460
Merge pull request #9242 from nupplaphil/bug/9142-message-id
Transform email header string to header array
2020-09-19 22:10:20 -04:00
Philipp
c41614fef1
Add improvements 2020-09-19 22:49:44 +02:00
Philipp
ac1d2cf38f
Transform email header string to header array & replace it at various situations. 2020-09-19 20:16:55 +02:00
Michael
74e5a73678 Fix fatal errors and notices 2020-09-18 12:08:40 +00:00
Michael Vogel
de3ed5faf4
Merge pull request #9197 from MrPetovan/bug/9192-normalize-escaping-item
Remove obsolete uses of Strings::escapeTags in mod/item
2020-09-16 22:10:19 +02:00
Michael
55e169db49 Configurable list of domains to ignore redirects 2020-09-16 04:56:37 +00:00
Philipp
4db45aca06
Fix indentation .. again ;-) 2020-09-14 06:34:03 +02:00
Hypolite Petovan
a7de06d280 Add deprecation notice on Strings::escapeTags 2020-09-13 20:01:55 -04:00
Michael
34257e78ca Function renamed 2020-09-13 19:40:38 +00:00
Philipp
9d9489494e
Format/name changes 2020-09-13 10:53:15 +02:00
Michael
20b25a1acd New function "queryValue" 2020-09-12 19:23:23 +00:00
Philipp
90346f61ba
Replace library/ASNValue.class.php with phpseclib functions 2020-09-12 20:54:37 +02:00
Philipp
11ef3895f5
Replace library/asn1.php with phpseclib 2020-09-12 20:44:36 +02:00
Philipp
31c55a6fa4
Rename class for PSR-0 2020-09-11 19:24:40 +02:00
Michael
bdd834d313 Support signed outbox requests 2020-08-30 17:07:46 +00:00
Michael Vogel
fc2340d4af
Merge pull request #8909 from MrPetovan/task/ex_auth
Refactor ExAuth for DICE
2020-08-22 22:12:22 +02:00
Michael
7dbf72e454 We now fetch data with an automatically generated system user 2020-08-22 14:48:09 +00:00
Michael
d9fc0ae0ea Using a constant value for the default avatar 2020-08-18 20:30:24 +00:00
Michael
ecd2d88b09 Don't let the tests fail. The test user doesn't have a private key 2020-08-07 17:05:49 +00:00
Michael
b79bb0d2cb Fetch photo fields, ensuring that they are filled 2020-07-28 12:58:19 +00:00
Hypolite Petovan
afb882048e Generate callstack value from inside Profiler::saveTimestamp
- Save a massive amount of time computing callstacks when profiling is disabled
2020-07-27 02:33:05 -04:00
nupplaPhil
657d08f09f Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull" 2020-07-21 03:15:53 -04:00
nupplaPhil
7029012f27 Rename "HTTPRequest::curl()" to HTTPRequest::get() 2020-07-21 03:14:01 -04: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
1aa07f87a4 Make "HTTPRequest::fetchUrl" dynamic 2020-07-21 03:04:58 -04:00
nupplaPhil
8793096c16 Make "HTTPRequest::post" dynamic 2020-07-21 03:02:51 -04:00
nupplaPhil
2973ed6448 Make "HTTPRequest::curl" dynamic 2020-07-21 03:01:12 -04:00
nupplaPhil
5344efef71 Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest" 2020-07-21 02:56:10 -04:00
Philipp Holzer
8565617ea1 Refactor ExAuth for DICE 2020-07-21 02:30:12 -04:00
Hypolite Petovan
886cf40036 Ensure ParseUrl::getSiteinfo always returns the url and type keys 2020-07-17 19:18:27 -04:00
Hypolite Petovan
dd85f48e0d
Merge pull request #8886 from annando/getidforurl-update
in "getidforurl" "no update" is now "update"
2020-07-16 09:23:30 -04:00
Michael
c352af8eda Reverting accidentally commited test 2020-07-16 04:45:12 +00:00
Michael Vogel
a24fca818d
Merge pull request #8879 from MrPetovan/task/8847-httpsig-quotes
Add support for token strings in HTTPSignature::parseSigheader
2020-07-16 06:36:17 +02:00
Michael
d9c6a46ffe Replaced "getDetailsByURL" with "getByURL/getByURLForUser" 2020-07-15 04:42:04 +00:00
Hypolite Petovan
bf599be1f8 Add support for token strings in HTTPSignature::parseSigheader
- Only quoted strings were supported before
2020-07-14 09:52:03 -04:00
Hypolite Petovan
291f11a8bb Fix critical bug in Crypto::unencapsulate
- The direction of the sub-function has been corrected
2020-07-14 09:35:06 -04:00
Michael
81928727f2 Issue 8866: Fix fetching feed links with missing base 2020-07-12 12:45:34 +00:00
Hypolite Petovan
78b424c7fd Add support for "hs2019" algorithm value in Util\HTTPSignature 2020-07-04 13:12:59 -04:00
Michael
c947b7f211 "print_r" in logging replaced / obsolete stuff removed 2020-06-29 20:22:00 +00:00
Hypolite Petovan
51925f2994 Add new endsWith method to Util\Strings 2020-06-17 13:24:44 -04:00