Should Lucee really remove whitespace in form field values, if this setting is active?
“Smart whitespace management - every whitespace character that follows a whitespace is removed, but whitespace inside the tags: <code>, <pre> and <textarea> is kept”
One of our customers reported a bug – he had problems to upload files with multiple spaces into our CMS.
The reason was this setting – the form value for this file e.g. “test spaces.jpg”, was stripped to “test spaces.jpg”.
-Harry
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/F5A941E045A6FE4288ABB2E3D797146FA73B8246%40SRV-DC1.contens.local.
For more options, visit https://groups.google.com/d/optout.
[...]
So we need to ask yourself, why we are using this "feature" in the first place, to reduce the band which necessary, to improve the parsing for the client?
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/7e67f839-dccf-42b0-a7cd-dc0cf0b3f336%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/20150702210600.00003c30%40sorcerersisle.com.
We work with designers who frequently look at the HTML source generated by our CMS to produce CSS files.
Both, depending on what the designer is used to, I guess.
Merci,
Jean
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/090e5653-41da-4356-81ef-0c7d9cd16fdc%40googlegroups.com.
And in all honestly, nothing beats in speed the "View selection source" option in FF :Fancy or not, it works faster than looking at the DOM when you need to know the markup of a specific portion of the page.
Hi Micha,
well, this setting caused several problems in the past:
- JSON Data inside Javascript CDATA tags was changed
- Multiple Spaces in Richtext Form Values were removed (form post)
- Multiple Spaces in Filename Form Values were removed (form post)
I am also in favor of option #2, and would suggest to add a warning in the admin!
-Harry
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAG%2BEEByVoPVbNVCF6%2B5TrsT%2BUAbRX62GoF1RkBq95_H6%2B-U3Vw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/db876184-ca04-4f66-9254-48aff21c813d%40googlegroups.com.
Igal Sapir
Lucee Core Developer
Lucee.org
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAG-7QUtxqOaQBnSCcsGNBHkWdvD5VnCVn5VtKL4v-G-51KKq4g%40mail.gmail.com.