Using comma as a delimiter makes it impossible to access urls that have a comma in them. The same goes for the titles.
Since these values need to be passed as parameters I suggest using javascript’s escape on them. Another approach would be to use a delimiter like “|” that is not a valid file name.