fux uri construction

self-merging @tleach