Skip to content
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

W-7173930 - Validate External Signup URL #502

Merged
merged 11 commits into from
Nov 6, 2020

Conversation

scottwarren-sfdo
Copy link
Contributor

@scottwarren-sfdo scottwarren-sfdo commented Oct 30, 2020

Add validation rule to External Signup URL field on Volunteer Job object.

Critical Changes

We introduced a new validation rule, ValidateExternalSignupUrl, on the Volunteer Job object. This rule ensures that the External Signup URL field doesn’t contain malicious code by validating that the field value begins with http, https, or mailto.

If this field has an invalid value, it will impact your ability to update the Volunteer Job record, and affect your volunteers' ability to report hours or update data on your Volunteer site. Therefore, we recommend that you check your External Signup URL field values on the Volunteer Job object and ensure that they comply with the new requirement. To get a list of your External Signup URL field values:

  1. Create a custom report using the Volunteer Jobs with Shifts & Hours report type.
  2. Add External Signup URL as a column.
  3. Add a filter for External Signup URL, with the Operator set to Does not contain, and the value set to http,https,mailto.

If you run into major issues, you can deactivate the new validation rule and create your own. Please keep in mind that if you disable the validation rule, you could be opening up your org to security issues.

Changes

Issues Closed

New Metadata

Deleted Metadata

Copy link
Contributor

@jjbennett jjbennett left a comment

Choose a reason for hiding this comment

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

Great work, great find, awesome solution!

@scottwarren-sfdo
Copy link
Contributor Author

scottwarren-sfdo commented Nov 4, 2020

W-7173930

@scottwarren-sfdo scottwarren-sfdo changed the title Validate External Signup URL W-7173930 - Validate External Signup URL Nov 4, 2020
@kselvocki kselvocki merged commit 61d4708 into master Nov 6, 2020
@kselvocki kselvocki deleted the feature/validate-external-url branch November 6, 2020 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants