-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix display of remote users in incoming share notifications #22062
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix display of remote users in incoming share notifications #22062
Conversation
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
|
/backport to stable19 |
| } | ||
|
|
||
| try { | ||
| return $this->getDisplayNameFromContact($user . '@https://' . $server); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https first? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
D'oh!
| ); | ||
|
|
||
| $initiator = $params[0]; | ||
| $initiatorDisplay = isset($params[3]) ? $params[3] : null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
then we can revert the change where this was added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some details (formating, error information) are still in place.
Signed-off-by: Arthur Schiwon <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
This comment has been minimized.
This comment has been minimized.
|
Any reason not to backport this to stable18 ? |
I don't remember if it was affected or not. If it is, and the fix applies, then nothing speaks against a backport. |
|
/backport to stable18 |
Before
After:
Hint for reviewers: have a look at the first commit, the second contains code style changes only.