πŸ‡ΊπŸ‡ΈUnited States @steve.elkins

Account created on 28 May 2009, over 15 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States steve.elkins

Updated patch to add support for external redirects borrowing similar changes from #3133681: No information for external redirects β†’ .

Before:
Path Examples
/router/translate-path?path=/external-redirect
/router/translate-path?path=/es/external-redirect

{
  "message": "Unable to resolve path /external-redirect.",
  "details": "None of the available methods were able to find a match for this path."
}

After:
Path Example: /router/translate-path?path=/external-redirect

{
  "resolved": "https://google.com",
  "redirect": [
    {
      "from": "/external-redirect",
      "to": "https://google.com",
      "status": "301"
    }
  ]
}

Path Example: /router/translate-path?path=/es/external-redirect

{
  "resolved": "https://google.com",
  "redirect": [
    {
      "from": "/es/external-redirect",
      "to": "https://google.com",
      "status": "301"
    }
  ]
}

Attached a modified version of the patch and the interdiff.

Production build 0.71.5 2024