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

Correct I18n/encoding handling of page title, esp. prefix #1175

Merged

Conversation

AFaust
Copy link
Contributor

@AFaust AFaust commented Aug 1, 2016

Recreation of #1170

This PR addresses some issues when trying to use the alfresco/header/Title module for customizing the title of the page. For one, the prefix and label for the browser title were previously not looked up before actually being used during page initialisation. This resulted in a message key being included in the browser title bar unless the "updatePageTitle" pubSub was triggered. Additionally, the HTML encoding of the prefix during postMixInProperties was redundant and caused character sequences like "Ä" to appear in the browser title bar when a German umlaut or other non-ascii/ansi characters are contained in the localized message.

@draperd
Copy link

draperd commented Aug 1, 2016

Thanks for recreating this against develop. I've checked it out locally and verified that the unit tests continue to pass. I don't think that we need additional tests here, so I'll merge. Thanks again for raising this.

@draperd draperd merged commit 91b6e2f into Alfresco:develop Aug 1, 2016
@AFaust AFaust deleted the Title-browserTitlePrefixI18nBeforeUse branch August 1, 2016 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants