May 19, 2011
The uri module in phobos only encodes and decodes. Has someone written (or are planning) a more comprehensive module that gives access to various components?
May 19, 2011
My cgi.d module does more comprehensive stuff: http://arsdnet.net/dcode/cgi.d

Look for decodeVariables and encodeVariables. They are pretty trivial function - split on the &, then decode each part.