sebsauvage/MinigalNano — pull request #59 by bifek (2014-11-22 23:04:34+00:00)
Title: "/" in the uri must never be urlencoded

or it breaks opening files completely.

also remove some code repetition.