Comments (4)
This seems to be behaviour that has changed from RC2 to RTM. You can have a look at the linked changeset for details of the change (Other refactoring is included).
Strangely in my testing I was getting the opposite behaviour which is why I did not catch it. After using a different machine I get the behaviour you are seeing.
I've released the fix to the project template. However, I've just realized that NWebSec is still using the old RC2 version. I've really made a hash of this release this time. You can look at NWebsec/NWebsec#59 to see when that package gets updated and then just upgrade it.
from templates.
I pushed new packages just now, upgrade away. :)
from templates.
Thanks for fixing it :) ! I'd have given a PR but I wasn't sure how you'd approach fixing it... and was myself new to both RC2 and RTM (all my projects are waiting to be migrated from RC1, once I get a proper handle on things). Glad I managed to bring it to your attention at least: odd how one machine did and and other didn't - any clue as to why? Method invocation ordering reaaaaaallly shouldn't differ between computers - right?!
@klings As an aside, thank you for making NWebsec, it's a great library.
from templates.
I didn't expend any time looking into it. I added a IOptions constructor RedirectToCanonicalUrlAttribute. In the past this was not possible as you could not have multiple constructors in ASP.NET IOC. Not sure when that changed.
Thanks @klings NWebSec also updated!!!
from templates.
Related Issues (20)
- Add Security HTTP Headers
- Disabling Docker Leaves Cake File with No Default Task HOT 1
- Improve Docker Image Security
- Investigate New Docker Settings for HTTPS Support
- .NET 7 Improvements
- Unable to access health checks with Orleans template. HOT 3
- Consider using dotnet-releaser HOT 5
- Add Lets Encrypt Feature
- Add Open Telemetry Metrics
- Include `xunit.analyzers` HOT 2
- Donet Cake DockerBuild does not fail the GH action step HOT 3
- Enable reproducible builds HOT 1
- Add Dev Tunnels to launchSettings.json
- .NET 8 Improvements HOT 1
- Two assets found targeting the same path HOT 2
- Reporting a weird error with .NET 7 and changing hostingContext.HostingEnvironment.ApplicationName
- Swagger does not respond with bad request and instead responds with 406
- .editorconfig syntax errors when using EnableGenerateDocumentationFile
- error xUnit1030: Test methods should not call ConfigureAwait(), as it may bypass parallelization limits.
- Microsoft.AspNetCore.ApplicationInsights.HostingStartup is depreciated.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from templates.