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.

Custom profile URL not accept +

10 years 2 months ago
  • Zdeněk's Avatar
    Topic Author
  • Zdeněk
  • Offline
  • Fresh Boarder
  • Posts: 64
  • Thank you received: 3
Licenses:
JomSocial Expired

Hi,
in Custom profile the Field type URL not accept the "+" (plus) character.

For example, GooglePlus profile google.com/+MyName

10 years 2 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

For security issue we disabled that character since version 3.0

10 years 2 months ago
  • Zdeněk's Avatar
    Topic Author
  • Zdeněk
  • Offline
  • Fresh Boarder
  • Posts: 64
  • Thank you received: 3
Licenses:
JomSocial Expired

And it is possible to add back (only) this character?

Because for now i must after every update edit "/components/com_community/helpers/validate.php" (and sometimes I forget :D)

10 years 2 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

if you want you need to remove the condition filter the string, look at this file components/com_community/controllers/profile.php, find this code :

$alias = JFilterOutput::stringURLSafe(urlencode($alias));

you can remove it, or change that code with regex which fit with your needs.

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