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

Add NOENCODE_WHITELIST to new expander #15966

Merged
merged 1 commit into from Jun 18, 2018
Merged

Add NOENCODE_WHITELIST to new expander #15966

merged 1 commit into from Jun 18, 2018

Conversation

calebcordry
Copy link
Member

The viewer uses this so that ANCESTOR_ORIGIN is not encoded.

@@ -23,6 +23,10 @@ const PARSER_IGNORE_FLAG = '`';
/** @private @const {string} */
const TAG = 'Expander';

/** A whitelist for replacements whose values should not be %-encoded. */
/** @const {Object<string, boolean>} */
export const NOENCODE_WHITELIST = {'ANCESTOR_ORIGIN': true};
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a TODO. Let's fix during FixIt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants