Skip to content

fix(lock-closed): fix broken policy URL#77

Merged
josephperrott merged 1 commit intoangular:masterfrom
gkalpak:fix-lock-closed-policy-url
Aug 20, 2020
Merged

fix(lock-closed): fix broken policy URL#77
josephperrott merged 1 commit intoangular:masterfrom
gkalpak:fix-lock-closed-policy-url

Conversation

@gkalpak
Copy link
Copy Markdown
Member

@gkalpak gkalpak commented Aug 20, 2020

Previously, the policy URL used in the automatic conversation locking comment used a shortened SHA (6 our of 40 chars). Such SHAs only work as long as there is no other SHA in the repo starting with the same chars. Since there are now two SHAs starting with the same 6 chars, the link is broken and resulrts in a 404 error. Example: angular/angular-cli#18058 (comment)

This commit fixes the broken link by using the full SHA (40 chars).

Previously, the policy URL used in the automatic conversation locking
comment used a shortened SHA (6 our of 40 chars). Such SHAs only work as
long as there is no other SHA in the repo starting with the same chars.
Since there are now two SHAs starting with the same 6 chars, the link is
broken and resulrts in a 404 error. Example:
angular/angular-cli#18058 (comment)

This commit fixes the broken link by using the full SHA (40 chars).
@gkalpak gkalpak marked this pull request as ready for review August 20, 2020 10:44
Copy link
Copy Markdown
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@josephperrott josephperrott merged commit 414834b into angular:master Aug 20, 2020
@gkalpak gkalpak deleted the fix-lock-closed-policy-url branch August 20, 2020 15:12
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants