Concrete Escapes quotes and apostrophes in file description

Permalink Browser Info Environment
Hello,
When trying to use the description field for the full screen caption, I noticed that Concrete seems to escape any quotes and apostrophes with a slash. It is very important that we get the captions to display without slashes. Is there a way around this at all?

Thank you very much.

Type: Pre-Sale
Status: Resolved
amatechsolutions
View Replies:
mnakalay replied on at Permalink Reply
mnakalay
Hello,
I totally understand that Concrete5 escapes those characters to avoid problems when saving in the database.
The slashes, however, don't show in Touch Gallery and the description appears normally.

Could you send me a screenshot showing the problem?
amatechsolutions replied on at Permalink Reply 1 Attachment
amatechsolutions
Thanks for getting back to me. I attached the screenshot. Let me know if you need anything else!
mnakalay replied on at Permalink Reply
mnakalay
Wow that's weird. It doesn't do that at all on my system and I've never heard anybody complain about it before.

If you go back to the image attributes and edit the description does it show up normal or with backslashes?
amatechsolutions replied on at Permalink Reply
amatechsolutions
Hello sorry for the late reply.

Yes, when I edit the file description the slashes are there. I delete them and when you load them again they are there. It keeps putting them in there.
mnakalay replied on at Permalink Reply
mnakalay
Sorry my question was not very clear. I Meant when editing the description, do you see the slashes in the attribute field itself (while editing and/or after saving), not in touch gallery
amatechsolutions replied on at Permalink Reply 2 Attachments
amatechsolutions
Hello,

It does still show up in File Manager when editing the File Attribute. I remove the slash and save the attribute and when I edit the attribute again the slash is back. I attached some screen shots to help clarify:

Sorry for any confusion
amatechsolutions replied on at Permalink Reply
amatechsolutions
Hello.

Just checking in to see if there is a solution to the issue. IF not I will need a refund. Thank you very much
mnakalay replied on at Permalink Reply
mnakalay
Hi again,

There is most likely a solution however I have to point out that the problem is not linked to Touch Gallery but to your install of Concrete5. I am not 100% sure but I have the feeling you didn't set the proper charset in the database when installing.

What this means is you are going to have this exact same problem in more than one place and probably in most galleries.

Now I can help you fix the problem in Touch Gallery if you want or give you a refund whichever you prefer (I have to point out that because the problem is not from Touch Gallery I don't have to give a refund, I only do it in the name of good customer relationship)

Let me know which you prefer in your next message.

Thank you

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.4.2
Version Installed - 5.7.4.2
Database Version - 20150504000000

# concrete5 Packages
Christopher's Theme (1.0.0), Touch Gallery (2.0.5).

# concrete5 Overrides
languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/sl_SI/LC_MESSAGES/messages.mo, languages/sl_SI/LC_MESSAGES, languages/sl_SI, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/sl_SI/LC_MESSAGES/messages.mo, languages/sl_SI/LC_MESSAGES, languages/sl_SI, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE

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

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.3.29

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dbase, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, htscanner, iconv, imap, json, ldap, libxml, mbstring, mcrypt, mhash, mongo, mysql, mysqli, ncurses, OAuth, odbc, openssl, pcre, PDFlib, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, suhosin, tidy, tokenizer, trader, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 64M
post_max_size - 40m
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - On
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 40m
ldap.max_links - Unlimited
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
suhosin.cookie.max_array_depth - 50
suhosin.cookie.max_array_index_length - 64
suhosin.cookie.max_name_length - 64
suhosin.cookie.max_totalname_length - 256
suhosin.cookie.max_value_length - 10000
suhosin.cookie.max_vars - 100
suhosin.executor.include.max_traversal - 4
suhosin.executor.max_depth - 0
suhosin.get.max_array_depth - 50
suhosin.get.max_array_index_length - 64
suhosin.get.max_name_length - 64
suhosin.get.max_totalname_length - 256
suhosin.get.max_value_length - 1024000
suhosin.get.max_vars - 100
suhosin.log.phpscript.is_safe - Off
suhosin.memory_limit - 0
suhosin.post.max_array_depth - 50
suhosin.post.max_array_index_length - 64
suhosin.post.max_name_length - 64
suhosin.post.max_totalname_length - 256
suhosin.post.max_value_length - 1000000
suhosin.post.max_vars - 1000
suhosin.request.max_array_depth - 50
suhosin.request.max_array_index_length - 64
suhosin.request.max_totalname_length - 256
suhosin.request.max_value_length - 1000000
suhosin.request.max_varname_length - 64
suhosin.request.max_vars - 1000
suhosin.session.max_id_length - 128
suhosin.upload.max_uploads - 25

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.