mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
19 lines
326 B
C#
19 lines
326 B
C#
using System;
|
|
using System.Web;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace GHTTests
|
|
{
|
|
public class UrlTestUtils
|
|
{
|
|
public static string FixUrlForDirectoriesTest (string url)
|
|
{
|
|
if (url == null)
|
|
return null;
|
|
|
|
return url.Replace (HttpContext.Current.Request.ApplicationPath, "root");
|
|
}
|
|
}
|
|
}
|