Commit 2442a3ad authored by Supreetam Laha's avatar Supreetam Laha Committed by Nikunj Kotecha
Browse files

Issue #3273495 by Supreetam09: Android deeplink not working for below Android...

Issue #3273495 by Supreetam09: Android deeplink not working for below Android 12 with current JSON structure
parent ec03d011
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ class WellKnownController extends ControllerBase {
    ];

    // Wrap $body in an array to convert the response to array.
    $response = new CacheableJsonResponse(json_encode([$body], JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES), 200, [], TRUE);
    $response = new CacheableJsonResponse(json_encode([$body], JSON_UNESCAPED_SLASHES), 200, [], TRUE);
    $response->addCacheableDependency($cacheMeta);
    return $response;
  }
@@ -139,7 +139,7 @@ class WellKnownController extends ControllerBase {
      ];
    }

    $response = new CacheableJsonResponse(json_encode($body, JSON_PRETTY_PRINT), 200, [], TRUE);
    $response = new CacheableJsonResponse(json_encode($body, JSON_UNESCAPED_SLASHES), 200, [], TRUE);
    $response->addCacheableDependency($cacheMeta);
    return $response;
  }