MDL-40877 repository_url: Use textlib functions instead of mb_strlen()
MDL-40877 core_text: Added UTF-8 safe strrchr method