U4-9608 - GetRemainingTimeoutSeconds returns invalid JSON

Created by Okta 08 Mar 2017, 09:31:10 Updated by Okta 08 Mar 2017, 09:58:49

The backoffice API endpoint /umbraco/backoffice/UmbracoApi/Authentication/GetRemainingTimeoutSeconds returns invalid JSON response. Sample response returned:

)]}', 189.1796047

Steps to reproduce:

  1. Login to backoffice
  2. In network tab, watch for XHR to /umbraco/backoffice/UmbracoApi/Authentication/GetRemainingTimeoutSeconds
  3. View raw response

Comments

Sebastiaan Janssen 08 Mar 2017, 09:48:02

All requests will return this format and this is intentional as a security feature, read more here: https://docs.angularjs.org/api/ng/service/$http#json-vulnerability-protection


Okta 08 Mar 2017, 09:58:49

TIL.

Thanks for the explanation.


Priority: Normal

Type: Bug

State: Closed

Assignee:

Difficulty: Normal

Category: Architecture

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.2.8

Due in version:

Sprint:

Story Points:

Cycle: