Ensure url is a str for commonprefix
Ensure url is a str for commonprefix

Fixes #1064.

Signed-off-by: James Valleroy <46e3063862880873c8617774e45d63de6172aab0@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <3eaa7035e78e5eca849aa1e8ea4aaf97b4588601@medhas.org>

harry-7/Plinth,harry-7/Plinth,harry-7/Plinth,harry-7/Plinth,harry-7/Plinth