[FIX] web: correct /web/proxy/load to set correct base_url

This commit is contained in:
Christophe Simonis 2014-08-20 17:33:27 +02:00
parent 9a763928e1
commit f32c88f932
1 changed files with 2 additions and 1 deletions

View File

@ -850,7 +850,8 @@ class Proxy(http.Controller):
from werkzeug.test import Client
from werkzeug.wrappers import BaseResponse
return Client(request.httprequest.app, BaseResponse).get(path).data
base_url = request.httprequest.base_url
return Client(request.httprequest.app, BaseResponse).get(path, base_url=base_url).data
class Database(http.Controller):