Skip to content

Conversation

@JakubOnderka
Copy link
Contributor

@JakubOnderka JakubOnderka commented Feb 10, 2021

For HTTP2, errorThrown variable can be empty string:

When an HTTP error occurs, errorThrown receives the textual portion of the HTTP status, such as "Not Found" or "Internal Server Error." (in HTTP/2 it may instead be an empty string)
https://api.jquery.com/jquery.ajax/ (jquery/api.jquery.com#1146)

So for Chrome or Safari, that follows HTTP/2 specs, Nextcloud will not parse error message. This makes problem at least for AV plugin – see nextcloud/files_antivirus#119

I would be happy if it is be possible to also apply this patchto version 19.X.

@JakubOnderka JakubOnderka force-pushed the JakubOnderka-patch-1 branch from 8195259 to 296ffc7 Compare March 10, 2021 15:30
@JakubOnderka
Copy link
Contributor Author

PING

Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 looks fine

@ChristophWurst ChristophWurst merged commit 95cddb8 into master Mar 11, 2021
@ChristophWurst ChristophWurst deleted the JakubOnderka-patch-1 branch March 11, 2021 12:54
@kesselb
Copy link
Contributor

kesselb commented Oct 4, 2021

/backport to stable21

@kesselb
Copy link
Contributor

kesselb commented Oct 4, 2021

/backport to stable20

@backportbot-nextcloud
Copy link

The backport to stable21 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable20 failed. Please do this backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants