tracker issue : CF-3353628

select a category, or use search below
(searches all categories and all time range)

CFPOP getall action raise error when attachment has name with square brackets.

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Pritesh Patel / Pritesh Patel (Pritesh Patel)

Created: 10/25/2012

Components: Net Protocols, POP

Versions: 9.0.1

Failure Type: Non Functioning

Found In Build/Fixed In Build: 9.0.1 / CF10_Update14

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Win 2008 Server x64

Vote Count: 2

Problem Description:
While reading emails using cfpop command with getall action raise 'String index out of range: -1' error when having attachment having square brackets in it.
Steps to Reproduce:
Try to read email having attachment with name [Untitled].pdf?

Actual Result:
Expected Result:
Should copy attachment to given path
Any Workarounds:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3353628

Deployment Phase:	Release Candidate

External Customer Info:
External Company:  
External Customer Name: @thecfguy
External Customer Email:  
External Test Config: My Hardware and Environment details:


  1. October 26, 2012 00:00:00: 1_errorshot.png
  2. May 21, 2014 00:00:00: 2_cfpopissue.jpg


I also ran into this bug. It is an edge case, but a fix would be nice. :)
Vote by External U.
17349 | October 03, 2013 12:16:05 PM GMT
I am running ColdFusion 10 (fully patched) and the bug still has not been fixed.
Comment by External U.
17343 | October 03, 2013 12:18:04 PM GMT
We are running system that handles thousands of mails daily, and download of mails stops when any of them has an attachment name starting with open square bracket, for example: [Untitled].pdf. In such case we have to remove mail from pop server in order to continue with processing of other mail messages. This bug was present since CF8 and we still encounter it even with newest version 10,0,11,285437
Vote by External U.
17350 | October 22, 2013 06:56:24 AM GMT
what is the ETA on this fix? Had to develop an ugly workaround on a big production system for this! (CF9)
Comment by External U.
17344 | October 24, 2013 04:12:08 AM GMT
This bug is fixed and will be available in the next ColdFusion release.
Comment by HariKrishna K.
17345 | January 07, 2014 04:19:25 AM GMT
have you some news about this problem ?
Comment by External U.
17346 | March 10, 2014 06:19:46 AM GMT
I've tested this bug on ColdFusion 10 with update 13 but still not fixed. I've added screenshot with name cfpopissue.jpg which is the dump of cfpop with getall.
Comment by External U.
17347 | May 20, 2014 10:41:07 PM GMT
It has been fixed in ColdFusion 11.
Comment by Rupesh K.
17348 | May 20, 2014 11:37:04 PM GMT