Not a bug Unknown content type for connected account

lifehome

Member
Affected version
2.0.7
To reproduce, simply fire up an external account authentication, and cancel it. It should then redirect you back to Xenforo with path "/connected_account.php?error=access_denied", and showing a message "you_did_not_grant_permission_to_access_connected_account".

Here you will receive the above message with a content type "unknown/unknown" and UTF-8 charset, and HTML tags here is completely screwed up. I suggest setting the content type to HTML, and somewhat better, would be showing the messages within the XF installation instead of an extra single piece of PHP page.

Here is a screenshot to demonstrate how the message above was shown:

螢幕截圖 2018-06-17 11.24.18.webp
 
The string returned here is either a phrase you have added HTML to yourself, or it is something that the Discord add-on you're using is returning.

We don't support HTML here so that HTML would just need to be removed.
 
Back
Top Bottom