Skip to:

Opened 3 years ago

Closed 3 years ago

#8450 closed defect (bug) (fixed)

URL type Profile field renders HTML

Reported by: topher1kenobe's profile topher1kenobe Owned by: imath's profile imath
Milestone: 8.0.0 Priority: normal
Severity: normal Version: 7.2.0
Component: Extended Profile Keywords: needs-patch


I have a profile field of the type URL and in the public profile it renders the HTML of the link, rather than the URL linked.

<a href="; rel="nofollow"></a>

Attachments (1)

Screen Shot 2021-04-05 at 12.15.56 PM.png (76.5 KB) - added by topher1kenobe 3 years ago.
Screenshot of erronious code.

Download all attachments as: .zip

Change History (3)

3 years ago

Screenshot of erronious code.

#1 @imath
3 years ago

  • Component changed from Core to Extended Profile
  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 8.0.0

Hi @topher1kenobe

Thanks for your report and screenshot. I was able to reproduce the issue. It happens when you enable the Autolink feature.

This feature's goal is to add a link to search for the value of the profile field into the membres directory. I believe it doesn't make sense for this field to support this feature. Thanks to the improvements we've been making during the 8.0.0 release, we'll be able to remove the Autolink metabox to avoid confusion.

In the meantime, you can easily fix your issue making sure the Autolink feature is disabled for this field. See screenshot below:

#2 @imath
3 years ago

  • Owner set to imath
  • Resolution set to fixed
  • Status changed from new to closed

In 12878:

xProfile: remove the autolink feature support from the URL field type

Autolinking this field value to a members search is not suitable for this type of field as its goal is to direct the user to the link's location. To avoid admin users confusion, let's remove the Autolink metabox and this feature from the URL field type.

Props topher1kenobe

Fixes #8450

Note: See TracTickets for help on using tickets.