Uh oh!
There was an error while loading. Please reload this page.
Copy the regexes to the public interface - #436
Conversation
mention-bot
commented
Jul 18, 2016
@nickvergessen, thanks for your PR! By analyzing the annotation information on this pull request, we identified @LukasReschke, @DeepDiver1975 and @tanghus to be potential reviewers |
MorrisJobke
commented
Jul 18, 2016
👍 |
icewind1991
commented
Jul 18, 2016
Wouldn't it be better to have an |
nickvergessen
commented
Jul 18, 2016
We have a method I would also only consider the name public api, not the actual value? |
MorrisJobke
commented
Jul 18, 2016
Could this be done by an abstract constant? Is this possible? |
| // Android Chrome user agent: https://developers.google.com/chrome/mobile/docs/user-agent | ||
| const USER_AGENT_ANDROID_MOBILE_CHROME = '#Android.*Chrome/[.0-9]*#'; | ||
| const USER_AGENT_FREEBOX = '#^Mozilla/5\.0$#'; | ||
| const REGEX_LOCALHOST = '/^(127\.0\.0\.1|localhost)$/'; |
There was a problem hiding this comment.
I know this is unrelated to your PR, but what about IPv6?
ChristophWurst
commented
Jul 18, 2016
No, according to http://php.net/manual/en/language.oop5.interfaces.php:
|
nickvergessen
commented
Jul 19, 2016
I mean we could also add methods that then use |
LukasReschke
commented
Jul 19, 2016
👍 |
…tcloud#436) After the previous PR(nextcloud#430) which added stopping application containers feature when shutting down, as @andrey18106 correctly noted during our 1:1 conversation: we cannot rely on the application inside the docker container to be ready to process the request at the moment the docker container is turned on. This PR introduces handling of it by checking health-check and heartbeat. Signed-off-by: bigcat88 <bigcat88@icloud.com>
No description provided.