Comments (11)
Sorry for the delay. I was on vacations. Let me check if this is still a bug with the latest owin nuget packages or otherwise, I will try to report it as a bug to Microsoft.
from hawknet.
It appears this is till an issue. Hawknet works with Owin running on port 80 but not 19000. You say this is an Owin bug? What is the exact bug?
from hawknet.
I filed an issue: https://katanaproject.codeplex.com/workitem/400
from hawknet.
It ends up that the issue is with the HawkNet library. I found it and put in a pull request: #28 . The HawkClientMessageHandler.SendAsync
override has this line: request.Headers.Host = request.RequestUri.Host;
. That line is wrong; it needs the port. The OwinRequest.Host
property includes the port but the Uri.Host
does not; I can see where it would get confusing. The SignRequest
method actually gets it right when the header is absent, so I just removed that header setter to fix the issue. Setting the Host header from the client doesn't seem quite right anyhow.
from hawknet.
Awesome. Thanks for working on this. I will apply your pull request
from hawknet.
I just pushed the updated version of the nuget package. Thanks
from hawknet.
I see that the HawkNet.Owin package was renewed today. However, wasn't this fix in the HawkNet.WebApi package?
from hawknet.
Yes. Let me release that package as well
from hawknet.
Any ETA on releasing the WebApi package? Thanks for your time on this.
from hawknet.
I just pushed it. Sorry it took so long. Thanks
from hawknet.
It's working well. Thank you.
from hawknet.
Related Issues (20)
- normalized string formatting in CalculateMac()
- Timing oracle that is likely exploitable to forge MACs
- Time units mismatch HOT 9
- HttpRequestMessageExtensionsTests.cs appears to be missing from HawkNet.WebApi.Tests.csproj HOT 1
- Post Not Returning Response
- Query string encoding bug HOT 2
- I download the simple,and run Example project,First client request and response "Bad mac" HOT 1
- uri.PathAndQuery.ToLower() is not working and return "Bad mac" HOT 1
- Not working with attribute routing HOT 5
- Problems validating bewit when url contains spaces encoded as %20 HOT 4
- Consider separating the Hawk implementation from the Web API plumbing HOT 2
- Exception: The format of value '<null>' is invalid
- About HawkNet on Asp.Net Core 2.0 HOT 2
- standard mismatch: ext-parameter shall be placed before mac-parameter
- httprequest depreciation - Later ASP.Net Core versions and httpclient
- AllowAnonymous doesn't work HOT 3
- timestampskew issue
- utf8 encoding vs ascii HOT 1
- payload hash formatting missing
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 hawknet.