Skip to content

Commit

Permalink
fix Oops: Invalid URI: The URI scheme is not valid. in Retro Online…
Browse files Browse the repository at this point in the history
… Video Player
  • Loading branch information
atauenis committed Jun 29, 2023
1 parent eeb360e commit d7e0081
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion HttpUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ public static RequestKind GetKindOfRequest(string RawUrl, string HostHeader = nu
if (IsLocalhost(Host, Port)) //check Host name and Port number
{
// Target is this server, so StandardLocal or AlternateProxy or DirtyAlternateProxy
if (RawUrl.Contains("://")) return RequestKind.AlternateProxy;
if (RawUrl.ToLower().StartsWith("/http:") || RawUrl.ToLower().StartsWith("/https:") || RawUrl.ToLower().StartsWith("/ftp:"))
return RequestKind.AlternateProxy;

if (RefererHeader != null)
{
Expand Down

0 comments on commit d7e0081

Please sign in to comment.