3

How can I make my Blazor application to receive the encrypted parameters that contain the encoded special characters such as "/" and "+".

My screenshot can be found here

How should I configure the Blazor parameters, so that they are split and translated correctly?

Kate Orlova
  • 3,225
  • 5
  • 11
  • 35

2 Answers2

2

How can I make my Blazor application to receive

First, the sending application has to format it properly for URL use. And you have to know that formatting.

In .NET you can use Uri.EscapeDataString() and then Uri.UnescapeDataString() in the Blazor page.

H H
  • 263,252
  • 30
  • 330
  • 514
-1

You may try Base64UrlEncoder from Microsoft.IdentityModel.Tokens

d219
  • 2,707
  • 5
  • 31
  • 36