Title: comma problem ?
Last modified: August 22, 2016

---

# comma problem ?

 *  Resolved [Li-An](https://wordpress.org/support/users/li-an/)
 * (@li-an)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/comma-problem/)
 * Hello,
    nice plugin but in comma mode I’ve got a strange output:
 * **[http://xxx/blogtest/wp-content/uploads/2014/12/](http://xxx/blogtest/wp-content/uploads/2014/12/)../../
   mmm//Scan-110401-0002.jpg**
 * **mmm** is the directory where I put the files (xxx is the site domain I hide
   for personnal reason).
 * [https://wordpress.org/plugins/mmm-file-list/](https://wordpress.org/plugins/mmm-file-list/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Adam Bissonnette](https://wordpress.org/support/users/mmanifesto/)
 * (@mmanifesto)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/comma-problem/#post-5551283)
 * How have you setup your shortcode? For comma you may want to exclude the last“/”
   since I think it adds one onto the path like so:
 * [MMFileList folder=”/blogtest/wp-content/uploads/2014/12/../../mmm”]
 * I realize this is tedious but it should get rid of that trailing slash. Someday
   I’ll include a more robust update so the code knows when to add / not add a slash.
 *  Thread Starter [Li-An](https://wordpress.org/support/users/li-an/)
 * (@li-an)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/comma-problem/#post-5551284)
 * OK for the last slash but **/../../** breaks the URL here.
 * I’ve put **[MMFileList folder=”/../../mmm/” format=”comma” types=”jpg,txt” /]**
 *  Plugin Author [Adam Bissonnette](https://wordpress.org/support/users/mmanifesto/)
 * (@mmanifesto)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/comma-problem/#post-5551285)
 * Hmmm, try folder=”../../mmm/”
 * I’m going to fix the code right now and push an update in the next hour or so
   so you don’t have to worry about trailing / prepended slashes in the path.
 *  Plugin Author [Adam Bissonnette](https://wordpress.org/support/users/mmanifesto/)
 * (@mmanifesto)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/comma-problem/#post-5551287)
 * I’ve updated with version 0.6a which should fix any slash issues (in theory).
   Let me know if it’s working for you now.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘comma problem ?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mmm-file-list_d6d6d6.svg)
 * [Mmm Simple File List](https://wordpress.org/plugins/mmm-file-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mmm-file-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mmm-file-list/)
 * [Active Topics](https://wordpress.org/support/plugin/mmm-file-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mmm-file-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mmm-file-list/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Adam Bissonnette](https://wordpress.org/support/users/mmanifesto/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/comma-problem/#post-5551287)
 * Status: resolved