Add "report abuse" prompts for users (disabled by default)#112
Open
0secure wants to merge 3 commits intopinterest:masterfrom
Open
Add "report abuse" prompts for users (disabled by default)#1120secure wants to merge 3 commits intopinterest:masterfrom
0secure wants to merge 3 commits intopinterest:masterfrom
Conversation
jparise
reviewed
Oct 10, 2019
jparise
reviewed
Oct 11, 2019
| <p>The secret you requested is not available. This typically indicates that one of the three below conditions has occurred:</p> | ||
| <ol> | ||
| <li>The secret has already been retrieved.</li> | ||
| <li>The link was corrupted</li> |
Collaborator
There was a problem hiding this comment.
To match the other items in the list:
Suggested change
| <li>The link was corrupted</li> | |
| <li>The link was corrupted.</li> |
Collaborator
|
@0secure just wanted to follow up on adding some |
Collaborator
|
@0secure do you think you'll be picking this work back up? |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change adds two new environment variables (ABUSE_ORG and ABUSE_EMAIL) that are used to direct users to contact a particular organization in case of suspected abuse. In addition, a generic 404 page and a secret-specific 404 page are added to minimize confusion and direct users to report abuse. If neither environment variable is set, the prompt to report abuse is not shown.