forked from flutter/engine
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ VM / Service ] Handle case where user navigates to Observatory with…
…out a slash trailing the authentication code. Previously, navigating to an observatory URI similar to http://127.0.0.1:8181/KUhS6KoCm24= would result in a missing auth code error. This change explicitly checks for this case and issues a redirect response to http://127.0.0.1:8181/KUhS6KoCm24=/ so index.html can be sent properly in the follow up request. Fixes flutter#36763 Change-Id: I8a73f2ef08f6bf1ca5aed4ddaaf97ae3489f7e23 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/100631 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Ben Konyi <bkonyi@google.com>
- Loading branch information
Showing
1 changed file
with
27 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters