payjoin / ohttp-relay

Oblivious HTTP relay resource in Rust
13 stars 6 forks source link

Normalize GATEWAY_ORIGIN with GatewayUri type #27

Closed DanGould closed 8 months ago

DanGould commented 8 months ago

http::Uri does not enforce a port. GatewayUri does. Passing GATEWAY_ORIGIN without a port would otherwise succeed for some operations and fail when proxying others as, for example, a request uri authority and gateway origin could mismatch when one has a port and the other does not.