From 4947fa39b3029470b851a1cfc7f8d2152a5689e5 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 18 Jul 2008 15:25:51 +0000 Subject: [PATCH] 2008-07-19 Tatsuhiro Tsujikawa Call parseUrl directly. * src/Request.cc (resetUrl) --- ChangeLog | 5 +++++ src/Request.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 81d3221b..5998d61e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-07-19 Tatsuhiro Tsujikawa + + Call parseUrl directly. + * src/Request.cc (resetUrl) + 2008-07-19 Tatsuhiro Tsujikawa Supported absolute/relative path in Location header field. diff --git a/src/Request.cc b/src/Request.cc index 9a8a1530..e5674b08 100644 --- a/src/Request.cc +++ b/src/Request.cc @@ -73,7 +73,7 @@ bool Request::setUrl(const std::string& url) { bool Request::resetUrl() { previousUrl = referer; - return setUrl(url); + return parseUrl(url); } bool Request::redirectUrl(const std::string& url) {