# Char in IMAP password crashes Mautic

**URL:** <https://forum.mautic.org/t/char-in-imap-password-crashes-mautic/4624>\
**Category:** Development\
**Created:** [July 25, 2016, 8:48am UTC](https://forum.mautic.org/t/char-in-imap-password-crashes-mautic/4624 "2016-07-25T08:48:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fmg](https://avatars.discourse-cdn.com/v4/letter/f/edb3f5/32.png) [@fmg](https://forum.mautic.org/u/fmg)\
**Post date:** [July 25, 2016, 8:48am UTC](https://forum.mautic.org/t/char-in-imap-password-crashes-mautic/4624/1 "2016-07-25T08:48:00Z")

</div>

Example IMAP password: 6Q{%X|NQgsw8Cd7B1+%j  
  
Reaction of Mautic: Crash  
  
Seems to be the % char  
  
Error in log file:  
  
PHP message: exception ‘Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException’ with message ‘The service “mautic.security” has a dependency on a non-existent parameter “x|nqgsw8cd7b1+”.’ in /var/www/mautic/vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php:84

---

<div class="post-metadata">

**Author:** ![fmg](https://avatars.discourse-cdn.com/v4/letter/f/edb3f5/32.png) [@fmg](https://forum.mautic.org/u/fmg)\
**Post date:** [July 25, 2016, 8:48am UTC](https://forum.mautic.org/t/char-in-imap-password-crashes-mautic/4624/2 "2016-07-25T08:48:00Z")

</div>

Example IMAP password: 6Q{%X|NQgsw8Cd7B1+%j  
Reaction of Mautic: Crash  
Seems to be the % char  
Error in log file:  
PHP message: exception ‘Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException’ with message ‘The service “mautic.security” has a dependency on a non-existent parameter “x|nqgsw8cd7b1+”.’ in /var/www/mautic/vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php:84

---

<div class="post-metadata">

**Author:** ![fmg](https://avatars.discourse-cdn.com/v4/letter/f/edb3f5/32.png) [@fmg](https://forum.mautic.org/u/fmg)\
**Post date:** [July 25, 2016, 1:18pm UTC](https://forum.mautic.org/t/char-in-imap-password-crashes-mautic/4624/3 "2016-07-25T13:18:56Z")

</div>

It is utf8\_unicode\_ci

I forgot:  
Mautic 2.0.1  
PHP 5.6.25 / Apache on Debian 7

---

<div class="post-metadata">

**Author:** ![alabyz](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@alabyz](https://forum.mautic.org/u/alabyz)\
**Post date:** [August 12, 2016, 5:25pm UTC](https://forum.mautic.org/t/char-in-imap-password-crashes-mautic/4624/4 "2016-08-12T17:25:27Z")

</div>

Hi FMG juste in case you or someone found a solution could you tel me ? I think our problem are related.

[Link to my post](https://www.mautic.org/community/index.php/5238-mautic-security-dependency-non-existent-parameter-3ashowcase-em)

---

<div class="post-metadata">

**Author:** ![alabyz](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@alabyz](https://forum.mautic.org/u/alabyz)\
**Post date:** [August 12, 2016, 5:59pm UTC](https://forum.mautic.org/t/char-in-imap-password-crashes-mautic/4624/5 "2016-08-12T17:59:30Z")

</div>

Yo I found it !

It is the % in the string that fuck this up…

you can change it in the setting file (not the db…)

Here’s how :

edit the file local.php in /app/config and change the part that cause problem (in your case the passord string for anythig that don’t have % like “this bug is a huge time waster” 🙂 and you will have access to your site again.

Hope this help !

---

<div class="post-metadata">

**Author:** ![griemer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/griemer/32/108_2.png) [@griemer](https://forum.mautic.org/u/griemer)\
**Post date:** [February 26, 2017, 2:52pm UTC](https://forum.mautic.org/t/char-in-imap-password-crashes-mautic/4624/6 "2017-02-26T14:52:29Z")

</div>

$ signs in passwords also won’t work, as I commented here [https://github.com/mautic/mautic/issues/3195](https://github.com/mautic/mautic/issues/3195)
