X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=input.cpp;h=d37b7d997e16f41f5afbe6d4421e5d669ad4d516;hp=ec1238181d076273c5d6019fce16e768ed1d6689;hb=f8e6be4ca4d53ca6dbb9a56063c7dfca9b6760c9;hpb=4243e7f781e59657a31b3d0746e36c8b49024dd0 diff --git a/input.cpp b/input.cpp index ec12381..d37b7d9 100644 --- a/input.cpp +++ b/input.cpp @@ -49,7 +49,7 @@ bool parse_url(const string &url, string *protocol, string *host, string *port, // http://foo/bar *port = *protocol; - *path = rest; + *path = "/" + rest; return true; }