net/pichi: Unbreak by update
- Update version 1.5.0=>1.5.1 Changelog: https://github.com/pichi-router/pichi/releases/tag/1.5.1 Approved by: portmgr (just-fix-it)
This commit is contained in:
parent
3dea3d89c9
commit
a6266a4566
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= pichi
|
||||
DISTVERSION= 1.5.0
|
||||
DISTVERSION= 1.5.1
|
||||
CATEGORIES= net
|
||||
|
||||
MAINTAINER= pichi@elude.in
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1627466281
|
||||
SHA256 (pichi-router-pichi-1.5.0_GH0.tar.gz) = b6b69ec74572dcf31484ecad850d809b5f38e7d3978a952951344aff496d3398
|
||||
SIZE (pichi-router-pichi-1.5.0_GH0.tar.gz) = 2124092
|
||||
TIMESTAMP = 1704144011
|
||||
SHA256 (pichi-router-pichi-1.5.1_GH0.tar.gz) = 99268097bf1f66e0b42020c168c8575ef02fab9767346dd5d956a1a9f012c645
|
||||
SIZE (pichi-router-pichi-1.5.1_GH0.tar.gz) = 2126161
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- src/net/http.cpp.orig 2022-12-12 17:06:47 UTC
|
||||
+++ src/net/http.cpp
|
||||
@@ -365,7 +365,7 @@ template <typename Stream> Endpoint HttpIngress<Stream
|
||||
* relative_path specified;
|
||||
* - relative_path will be forwarded without any change.
|
||||
*/
|
||||
- auto target = req.target().to_string();
|
||||
+ auto target = string{cbegin(req.target()), cend(req.target())};
|
||||
assertFalse(target.empty(), PichiError::BAD_PROTO, "Empty path");
|
||||
if (target[0] != '/') {
|
||||
// absolute_path specified, so convert it to relative one.
|
Loading…
Reference in New Issue