eigengo/akka-extras — pull request #17 by adinapoli (2013-07-16 11:04:08+00:00)
Title: Fixed the double quote issue

Bear in mind that, even though the replaceAll trick is a "partial function" in the solution space, 'cause it doesn't handle cases where we have genuine quotes in the middle, I think it's all we need here, because we are reading just from `javamail.properties`.

This essentially means that we never hit the case where we are incorrectly stripping genuine quotes not at the beginning or at the end. In case we have corner case I haven't thought of, (e.g. the user misuse the app and put username and password there, where both can have quotes?) than we need a more robust solution. I already have a prototype for that, so just keep me posted.

For now the benefit of this solution is that is really cheap in terms of visual clutter.