code: function (req) {
                  var location = getLocation(req),
                      href = location.origin + location.search;
                  return href;
              }
docs: Set strict routing that /buckets/test/abc is not the same as /buckets/test/abc/ adding the slash at the end denotes creating a folder and not a file