Add uniqid to publicurl.
Merge pull request #904 from ngodfraind/bugfixes

Add uniqid to publicurl.