Skip to content

Supports diacritics in region navigation view names#3388

Merged
brianlagunas merged 1 commit intomasterfrom
umlauts
Mar 28, 2026
Merged

Supports diacritics in region navigation view names#3388
brianlagunas merged 1 commit intomasterfrom
umlauts

Conversation

@brianlagunas
Copy link
Copy Markdown
Member

Description of Change

This change ensures that view names containing URI-escaped characters, such as diacritics (e.g., umlauts), are correctly unescaped when used in region navigation. The RegionNavigationContentLoader in both Maui and WPF now explicitly calls Uri.UnescapeDataString on the navigation contract, allowing views like "TestäöüView" to be properly resolved. New test cases have been added to validate this behavior.

Additionally, the PrismAppBuilder's initialization process has been streamlined. The internal _moduleCatalogActions list and its corresponding AddModuleCatalogAction method have been removed. Module catalog configuration actions are now directly registered with the _initializations list, consolidating the initialization phases and simplifying the builder's internal logic.

Bugs Fixed

Behavioral Changes

Navigation to views with URI-escaped characters (e.g., MyView%C3%A4 for MyViewä) will now correctly resolve, allowing applications to use view names with a wider range of characters without issue. Previously, such navigation attempts might have failed to find the target view.

PR Checklist

  • Has tests (new tests added in UriParsingHelperFixture.cs)

Ensures that view names containing diacritics, such as umlauts, are correctly resolved by unescaping the URI path during region navigation.
@brianlagunas brianlagunas merged commit 00c3592 into master Mar 28, 2026
7 checks passed
@brianlagunas brianlagunas deleted the umlauts branch March 28, 2026 03:42
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.

1 participant