ligershark / WebOptimizer

A bundler and minifier for ASP.NET Core
Apache License 2.0
756 stars 113 forks source link

tag helpers break absolute URLs #314

Open ghosttie opened 2 months ago

ghosttie commented 2 months ago

Starting in version 3.0.413, absolute URLs like

<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>

get the application's path prepended to them so they end up like

<script type="text/javascript" src="/platform/https://www.gstatic.com/charts/loader.js"></script>

and don't work (in this example the path is "/platform/")

3.0.405 is fine

JordanRieger commented 1 month ago

Same issue here. I'm on 3.0.422, with ASP.NET Core 8.0.1 and Razor Pages.