Skip to content

EmbeddedResourcePath Regex Parser Bug #41

Description

@ylbillyli

Take FormFactory as example, following step 2 in this link adding

<link href="/Content/FormFactory/FormFactory.css" rel="stylesheet" type="text/css"/>

EXPECT:      FormFactory.css to load correctly
ACTUAL:      404 not found

The embedded resource namespace is FormFactory.Content.FormFactory.FormFactory.css

The EmbeddedResourcePath Regex Parsing code on line 17 incorrectly produce directory name as Content.FormFactory and therefore I have to use the url becomes ~/Content.FormFactory/FormFactory.css

SUGGEST to fix this simply by replacing any dots with slashes on the parsed directory name on line 43

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions