frontend properly encodes note paths