Open share link in new window
=> "first" level is opened instead of "second"

If an additional ~~is added it will work. But this can't be a solution as the same first/second scenario works without issues in personal, group and course element folders. Thus, it should be fixed in the resource folder.

The system should be robust enough to have or not have the trailing ~~ to support all the users who added them to circumvent the issue