Repository navigation
Conversation
There was a problem hiding this comment.
Should use this->server['HTTP_ACCEPT]
46a6424 to
15d7825
Compare
There was a problem hiding this comment.
what about moving this check inside printExceptionErrorPage() adn even send back the error message as json?
There was a problem hiding this comment.
I know this looks ugly. But as a developer you expect printExceptionErrorPage() to output something ... it starts with print.
There was a problem hiding this comment.
it starts with print.
in case of json request it will print out json - on cli it will print out plain text - html for all the rest
|
The inspection completed: 2 new issues, 1 updated code elements |
|
Sometimes I have the feeling that showing an exception page is really a corner case that happens only at setup time or if something is wrong with the setup. |
|
I'd like to have a solution which somewhat merges with this last-minute-8.1-hack - https://github.com/owncloud/core/blob/master/remote.php#L43 |
|
Any update for this ? |
|
No activity -> 9.0 |
15d7825 to
5e24d29
Compare
There was a problem hiding this comment.
this should be inverted - right?
If it's NOT a json request the exception page is displayed
|
Fixes #10134 |
|
We're past feature freeze, changing base.php or base interfaces can be dangerous. Moving to 9.1 CC @cmonteroluque |
|
Is this critical enough to push this forward ? Else let's close this and schedule time for a proper discussion about the approach we want here (which we could track in a ticket) |
@butonic agree to close? |
|
lets reopen this one day .... |
starting point for #15332 (comment) feel free to hijack.