locked
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.


    • Edited by hobie1 Tuesday, May 14, 2019 8:14 PM
    • Moved by Dave PatrickMVP Tuesday, May 14, 2019 8:29 PM looking for forum
    Tuesday, May 14, 2019 8:13 PM

Answers

  • I'd ask for help over here.

    https://forums.asp.net/1255.aspx/1?ASP+NET+Core

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Tuesday, May 14, 2019 8:28 PM