Skip to content

Commit

Permalink
Creating user collections with encoded '@'.
Browse files Browse the repository at this point in the history
References #810.
  • Loading branch information
claudius108 committed Feb 20, 2015
1 parent e8708e9 commit daa4b06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/administration/create-user-collections.xq
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
xquery version "3.0";

let $current-user := xmldb:get-current-user()
let $current-user := xmldb:encode-uri(xmldb:get-current-user())
let $log := util:log("INFO", $current-user)
let $users-collection-path := "/data/services/repositories/local/users/"
let $user-collection-path := xs:anyURI($users-collection-path || $current-user || "/")
let $user-subcollection-names := ("persons", "organisations", "subjects")
Expand Down

0 comments on commit daa4b06

Please sign in to comment.