mirror of
https://github.com/bitwarden/android.git
synced 2025-01-10 02:07:33 +03:00
19 lines
415 B
C#
19 lines
415 B
C#
|
using System;
|
|||
|
|
|||
|
namespace Bit.Core.Utilities
|
|||
|
{
|
|||
|
public static class UriExtensions
|
|||
|
{
|
|||
|
public static string UnescapeDataString(string uriString)
|
|||
|
{
|
|||
|
string unescapedUri;
|
|||
|
while ((unescapedUri = System.Uri.UnescapeDataString(uriString)) != uriString)
|
|||
|
{
|
|||
|
uriString = unescapedUri;
|
|||
|
}
|
|||
|
|
|||
|
return unescapedUri;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|