Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

how to make available the Cyrillic domain in the url field

11 years 2 weeks ago
  • Evgeny's Avatar
    Topic Author
  • Evgeny
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Expired

Hello, tell me how to make available the Cyrillic domain in the url field. now when you try in the url field, specify the domain name in Russian is an error that the wrong link

11 years 2 weeks ago
Licenses:

Hi Evgeny,

I already made the fixes for you.
/components/com_community/helpers/validate.php

line 61:
From
$regex = '/^[a-zA-Z]+[:\/\/]+[A-Za-z0-9\-_]+\\.+[A-Za-z0-9\.\/%&=\?\-_#!]+$/i';

to
$regex = '/^[a-zA-Z]+[:\/\/]+[A-Яа-яA-Za-z0-9\-_]+\\.+[A-Яа-яA-Za-z0-9\.\/%&=\?\-_#!]+$/i';

now URL validation already support Cyrillic

Regards,
Albert

The following user(s) said Thank You: Evgeny
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW