- Razor removed the ability to automatically resolve URLs prefixed with `~/`; therefore `ScriptTagHelper`, `LinkTagHelper` and `ImageTagHelper` have changed to take in `IUrlHelper`s and auto-resolve their URL based properties if they start with `~/`. - Added a catch-all `~/` resolver for non `TagHelper` based HTML elements. Razor used to resolve any attribute value that started with `~/` now the behavior is restricted to attributes that can contain URLs. - Updated `IUrlHelper` to accept `null` values. - Added functional tests to validate that URLs resolve correctly. - Updated `TagHelper` tests to ensure that URLs are resolved via an `IUrlHelper`. #2807 |
||
|---|---|---|
| .. | ||
| EditorTemplates | ||
| AttributesWithBooleanValues.cshtml | ||
| CreateWarehouse.cshtml | ||
| EditWarehouse.cshtml | ||
| EmployeeList.cshtml | ||
| Environment.cshtml | ||
| Form.cshtml | ||
| Image.cshtml | ||
| Index.cshtml | ||
| Input.cshtml | ||
| ItemUsingModelSpecificEditorTemplate.cshtml | ||
| ItemUsingSharedEditorTemplate.cshtml | ||
| Link.cshtml | ||
| Order.cshtml | ||
| OrderUsingHtmlHelpers.cshtml | ||
| Product.cshtml | ||
| ProductList.cshtml | ||
| Script.cshtml | ||
| _ProductPartial.cshtml | ||