Uh oh!
There was an error while loading. Please reload this page.
fix display of remote users in incoming share notifications - #22062
Conversation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
blizzz
commented
Jul 30, 2020
/backport to stable19 |
| } | ||
| try { | ||
| return $this->getDisplayNameFromContact($user . '@https://' . $server); |
There was a problem hiding this comment.
didn't touch the order. can switch. actually i do wonder whether there is a valid use case for those two fall backs?
| if ($property === 'CLOUD' && preg_match('/[^a-zA-Z0-9 _.@\-\']/', $pattern) === 1) { | ||
| // There can be no chars in cloud ids which are not valid for user ids | ||
| if ($property === 'CLOUD' && preg_match('/[^a-zA-Z0-9 :_.@\/\-\']/', $pattern) === 1) { |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| ); | ||
| $initiator = $params[0]; | ||
| $initiatorDisplay = isset($params[3]) ? $params[3] : null; |
There was a problem hiding this comment.
then we can revert the change where this was added?
There was a problem hiding this comment.
some details (formating, error information) are still in place.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
This comment has been minimized.
This comment has been minimized.
juliusknorr
commented
Oct 16, 2020
Any reason not to backport this to stable18 ? |
blizzz
commented
Oct 16, 2020
I don't remember if it was affected or not. If it is, and the fix applies, then nothing speaks against a backport. |
ChristophWurst
commented
Oct 19, 2020
/backport to stable18 |
Before
After:
Hint for reviewers: have a look at the first commit, the second contains code style changes only.