search cancel

Terms of use text shown in registration form on API Hub is escaping all special characters.

book

Article ID: 244243

calendar_today

Updated On:

Products

CA API Developer Portal

Issue/Introduction

When configuring the registration terms of use text in the registration settings and using proper formatting with paragraphs and white space. The terms of use looks fine in the settings window, but when we click on the "I have read and accept the Terms of Use" link in the registration form of the API Hub, it's showing the text with all the line feeds escaped as "\n" instead of the actual line feed. This makes the terms of use completely unreadable as it's all one big block of text.

Environment

CA Developer Portal 5.x

Cause

This was the result of a bug within the portal source code.

Resolution

The portal development team has addressed this and a fix will be included in the upcoming Portal 5.1.1 release.