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

Sailthru exclusion #8

Merged
merged 3 commits into from
May 1, 2017
Merged

Sailthru exclusion #8

merged 3 commits into from
May 1, 2017

Conversation

alloy
Copy link
Contributor

@alloy alloy commented Apr 29, 2017

Closes https://github.com/artsy/collector-experience/issues/240

From Sailthru support:

There is a potential to do some white/blacklisting in the App Site Association File based on our link rewrites. The hash after /click/ is a base64 encode, and you could encode the paths accordingly before adding them to the file

I have verified that this indeed correctly excludes editorial content.

* encoded URL contains a base64 version of the actual Artsy URL, so we can exlcude based on that. This script takes the
* patterns specified in the apple-app-site-association.json file and generates the encoded versions of them. Or, if a
* pattern was removed, it removes the corresponding encoded pattern.
*/
Copy link
Contributor

Choose a reason for hiding this comment

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

Interesting!

"NOT /article/*",
"NOT /2016-year-in-art",
"NOT *L2FydGljbGUv*",
"NOT *LzIwMTYteWVhci1pbi1hcnQ=*",
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this one?

Copy link
Contributor Author

@alloy alloy May 1, 2017

Choose a reason for hiding this comment

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

It’s the base64 encoded version of /2016-year-in-art.

@kanaabe
Copy link
Contributor

kanaabe commented May 1, 2017

👍 Cool, thanks for catching this!

@kanaabe kanaabe merged commit 0408fc9 into master May 1, 2017
@icirellik icirellik deleted the sailthru-exclusion branch December 7, 2020 21:46
@artsyit
Copy link
Contributor

artsyit commented Nov 2, 2021

🚀 PR was released in v1.1.0 🚀

@artsyit artsyit added the released This issue/pull request has been released. label Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants