diff --git a/cgi.d b/cgi.d index ace4ef2..b0e4c89 100644 --- a/cgi.d +++ b/cgi.d @@ -2981,6 +2981,8 @@ struct Uri { /// Browsers use a function like this to figure out links in html. Uri basedOn(in Uri baseUrl) const { Uri n = this; // copies + if(n.scheme == "data") + return n; // n.uriInvalidated = true; // make sure we regenerate... // userinfo is not inherited... is this wrong?