Title: Wrong slash
Last modified: March 19, 2018

---

# Wrong slash

 *  Resolved [Ivaseg](https://wordpress.org/support/users/ivaseg/)
 * (@ivaseg)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/wrong-slash/)
 * We can see wrong symbol \ in document name when I upload files with cyrilic and
   they are converted to latin by your plugin. As you can see on screenshot below,
   in one place this \ not exist but exist in the second place where we have tab
   versions.
 * Here is screenshot for you [https://i.imgur.com/Ok8v2do.jpg](https://i.imgur.com/Ok8v2do.jpg)

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

 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/wrong-slash/#post-10094839)
 * I’ve tested with some default cyrillic text and I am not getting the same results
   as you. the \ is not being added to the name of the file. Are you using the most
   recent version of mDocs?
 *  Thread Starter [Ivaseg](https://wordpress.org/support/users/ivaseg/)
 * (@ivaseg)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/wrong-slash/#post-10096110)
 * Yes, I’m using latest version. And I’m sorry, it’s my fault because I didn’t 
   test who is cause this error. I thinked that it caused by cyrillic filename but
   after testing I can say that this happen when I put document name. You can check
   it with this phrase “**комп’ютер**” (just copy it without quotes).
 * Steps to reproduce:
    1. Put this phrase in field **File Name** when adding new
   document and save this document. 2. Click on this document and select **Manage
   File** and now you can see that File Name has phrase `комп&#039ютер` (I removed
   symbol ; here because wordpress convert it to symbol ‘). 3. Click on this document
   and select Goto Post. Then navigate to tab Versions and you can see this symbol\
    -  This reply was modified 8 years, 2 months ago by [Ivaseg](https://wordpress.org/support/users/ivaseg/).
    -  This reply was modified 8 years, 2 months ago by [Ivaseg](https://wordpress.org/support/users/ivaseg/).
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/wrong-slash/#post-10096135)
 * I just tested again on my own site:
 * [http://kingofnothing.net/mdocs-posts/компютер/](http://kingofnothing.net/mdocs-posts/компютер/)
 * As you can see once again no issue, I followed each one of your steps exactly.
 *  Thread Starter [Ivaseg](https://wordpress.org/support/users/ivaseg/)
 * (@ivaseg)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/wrong-slash/#post-10096368)
 * [https://i.imgur.com/FkdKINH.gifv](https://i.imgur.com/FkdKINH.gifv) recorded
   for you. Yes, when I copied this word from here and paste to my test site – the
   problem not exist. It seems like ‘ converted here too. So, we can try it in other
   way. Copy this word from this file url [https://url-deleted/wp-content/uploads/2018/03/80.txt](https://url-deleted/wp-content/uploads/2018/03/80.txt)(
   don’t worry, it simple text document with just one this word)
    -  This reply was modified 8 years, 2 months ago by [Ivaseg](https://wordpress.org/support/users/ivaseg/).
      Reason: issue fixed so there is no reason to store this link for search engines
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/wrong-slash/#post-10096389)
 * Okay heres what you can do for me…
 * open the file mdocs-docs-preview.php got line 319 it will look like this:
 *     ```
       <td class="mdocs-orange"><?php echo $the_mdoc['name'].' -  <small class="text-muted"><i>'.$the_mdoc['filename'].'</i></small>'; ?></td>
       ```
   
 * and change it to this:
 *     ```
       <td class="mdocs-orange"><?php echo stripslashes($the_mdoc['name']).' -  <small class="text-muted"><i>'.$the_mdoc['filename'].'</i></small>'; ?></td>
       ```
   
 *  Thread Starter [Ivaseg](https://wordpress.org/support/users/ivaseg/)
 * (@ivaseg)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/wrong-slash/#post-10096447)
 * Thank you, marked as fixed.

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

The topic ‘Wrong slash’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/memphis-documents-library_91918f.
   svg)
 * [Memphis Documents Library](https://wordpress.org/plugins/memphis-documents-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/memphis-documents-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/memphis-documents-library/)
 * [Active Topics](https://wordpress.org/support/plugin/memphis-documents-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/memphis-documents-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/memphis-documents-library/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Ivaseg](https://wordpress.org/support/users/ivaseg/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/wrong-slash/#post-10096447)
 * Status: resolved