Problem with link in text field attribute in Composer

Permalink 0 0 Browser Info Environment

I have create a Page Type with a rich text zone as an attribute.
In this text field (it's the sidebar of the page), I put links to documents (eg. PDF).

When I edit my page through Composer, I can add links to documents through the WYSIWYG toolbar. The link is inserted like that:

<a href="BASE_URL/download_file/view/docID" target="_blank">My document</a>

and everthing is fine.

But If I go again in the composer (even without changing something) and do a publish, the links are broken because a change in the URL (it adds the cID at the end of the URL):

<a href="BASE_URL/download_file/view/docID/cID" target="_blank">My document</a>

and everytime you do it, it adds one instance:

<a href="BASE_URL/download_file/view/docID/cID/cID/cID/cID" target="_blank">My document</a>


1 Attachment

Status: New

concrete5 Environment Information

# concrete5 Version
Core Version - 8.4.4
Version Installed - 8.4.4
Database Version - 20180717000000

# concrete5 Packages
Block Designer (3.2.1), ExchangeCore reCAPTCHA (1.1.1), MailChimp (1.0.0)

# concrete5 Overrides
blocks/autonav/templates/top_tools_divisions.php, blocks/autonav/templates/footer.php, blocks/autonav/templates/main.php, blocks/autonav/templates, blocks/autonav, blocks/sefa_highlight/add.php, blocks/sefa_highlight/composer.php, blocks/sefa_highlight/edit.php, blocks/sefa_highlight/icon.png, blocks/sefa_highlight/config.json, blocks/sefa_highlight/view.php, blocks/sefa_highlight/db.xml, blocks/sefa_highlight/form.php, blocks/sefa_highlight/controller.php, blocks/sefa_highlight, blocks/page_list/templates/highlights.php, blocks/page_list/templates/masonry.php, blocks/page_list/templates, blocks/page_list/controller.php, blocks/page_list, blocks/search/templates/mini.php, blocks/search/templates, blocks/search/view.php, blocks/search/controller.php, blocks/search, blocks/netplus_caius/add.php, blocks/form/view.php, blocks/form/view.css, blocks/form, themes/sefa/description.txt, themes/sefa/default.php, themes/sefa/home.php, themes/sefa/page_theme.php, themes/sefa/redirection.php, themes/sefa/thumbnail.png, themes/sefa/view.php, themes/sefa/images/icons, themes/sefa/images, themes/sefa/includes/css/sefa-global.css, themes/sefa/includes/css/sefa-fonts.css, themes/sefa/includes/css/sefa-reset.css, themes/sefa/includes/css, themes/sefa/includes/elements/header.php, themes/sefa/includes/elements, themes/sefa/includes/images, themes/sefa/includes/js/jquery-3.3.1.min.js, themes/sefa/includes/js/sefa-script.js, themes/sefa/includes/js, themes/sefa/includes/svg/sefa.svg, themes/sefa/includes/svg, themes/sefa/includes, themes/sefa/highlight.php, themes/sefa/page.php, themes/sefa

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software

# Server API

# PHP Version

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, geos, gettext, gmp, hash, http, iconv, imagick, imap, intl, ionCube Loader, json, ldap, libxml, mailparse, mbstring, mcrypt, mongodb, mysqli, mysqlnd, OAuth, openssl, pcntl, pcre, PDFlib, PDO, pdo_mysql, pdo_sqlite, pgsql, Phar, posix, propro, raphf, Reflection, session, SimpleXML, soap, sodium, SPL, sqlite3, ssh2, standard, tidy, timezonedb, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, yaz, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 100
max_input_nesting_level - 64
max_input_time - 0
max_input_vars - 1000
memory_limit - 256M
post_max_size - 300M
sql.safe_mode - Off
upload_max_filesize - 300M
ldap.max_links - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
raphf.persistent_handle.limit - -1
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0