-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{Misc} Fix broken Cloud Shell link #17291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Misc |
README.md
Outdated
| Take a test run now from Azure Cloud Shell! | ||
|
|
||
| [](https://shell.azure.com) | ||
| Take a test run now from [Azure Cloud Shell](https://portal.azure.com/#cloudshell/)! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://shell.azure.com now redirects to https://portal.azure.com/#cloudshell/
> curl --include https://shell.azure.com
HTTP/1.1 301 Moved Permanently
Content-Length: 160
Content-Type: text/html; charset=UTF-8
Location: https://portal.azure.com/#cloudshell/
Server: Microsoft-IIS/10.0
X-Powered-By: ASP.NET
Date: Fri, 12 Mar 2021 10:40:34 GMT
<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a HREF="https://portal.azure.com/#cloudshell/">here</a></body>
So there is no need to use https://shell.azure.com.
The same applies to Azure/azure-powershell#14531.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The trailing slash (/) is against the URL syntax:
The following are two example URIs and their component parts:
foo://example.com:8042/over/there?name=ferret#nose
\_/ \______________/\_________/ \_________/ \__/
| | | | |
scheme authority path query fragment
| _____________________|__
/ \ / \
urn:example:animal:ferret:nose
So remove it.
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Description
The Cloud Shell icon image https://shell.azure.com/images/launchcloudshell.png is no longer available, making the link unclickable:
Changes
Borrow new contents from Azure/azure-powershell#13969 and https://docs.microsoft.com/en-us/azure/cloud-shell/overview