none
Issue url with NET Core 2.2 RRS feed

  • Question

  • When under NET Core 2.1 web app these two of the same image load properly, however when under Net Core 2.2 the first image load properly which is expected but the second is not where it should. Failed to load resource: the server responded with a status of 404 (Not Found) which is false. This is related to the encode uri and sub folders, but why was that working before and not anymore. What am'I missing?

    <img src="/images/New folder/New folder/office365FeaturesIssue4.jpg" />

    <img src="/images/New%20folder%2FNew%20folder%2Foffice365FeaturesIssue4.jpg" />

    I don't want and can't use this @System.Uri.UnescapeDataString("") which would solve the issue.

    <img src="@System.Uri.UnescapeDataString("/images/New%20folder%2FNew%20folder%2Foffice365FeaturesIssue4.jpg")"  />

    Also my _Layout.cshtml include this already for encoding

    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="utf-8" />........

    Using Visual Studio 2019 RC latest release.


    Tuesday, May 14, 2019 8:13 PM

Answers