Commit cc9de46
committed
Fix path trimming in .NET Core AspNetFileSystem
Trimming should handle forward as well as backslashes. There aren't any
unit tests for this already that I could find, so I verified manually by
calling:
.AddScriptWithoutTransform("~/Content/*.js");
Within the .NET Core sample project.
Fixes reactjs#5261 parent 37bac34 commit cc9de46
File tree
2 files changed
+2
-2
lines changed- src
- React.AspNet.Middleware
- React.Core
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments