Feature request: help prevent name clashes

Permalink Browser Info Environment
Some block identifiers are evil. I chose the identifier 'content' for a wysiwyg element and found out after several created blocks that not all features of the rich text editor are working (e.g. colors).

There should be a maintained blacklist for unfavorable blocknames to prevent people from generating not fully functional blocks. :)

PS: I know I could have used a prefix on all my identifiers.....but plain names looked tempting.

Type: Discussion
Status: Resolved
j3ns
View Replies:
j3ns replied on at Permalink Reply
j3ns
I think in this special case it might be a problem with generated html id attributes or something like that. Replacing all occurrences was no big deal..but it might take some time to notice these problems.
ramonleenders replied on at Permalink Reply
ramonleenders
I assume a simple prefix on the id attribute will do, thanks for notifying this! Didn't test it but I'll take your word for it, as it's ugly to have the entered variable name as a direct attribute id anyways.

Thanks :)
ramonleenders replied on at Permalink Reply
ramonleenders
Fixed in 1.0.0

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.3.1
Version Installed - 5.7.3.1
Database Version - 20150109000000

# concrete5 Packages
Block Designer (0.9.8), True Romance (0.0.5).

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

# 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/2.2.22 (Ubuntu)

# Server API
apache2handler

# PHP Version
5.3.10-1ubuntu3.15

# PHP Extensions
apache2handler, apc, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, Phar, posix, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, zip, zlib.

# PHP Settings
max_execution_time - 30
apc.max_file_size - 1M
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 2M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
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

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5

Hide Post Content

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

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.