diff options
author | 2015-06-09 17:16:31 -0700 | |
---|---|---|
committer | 2015-06-09 17:16:31 -0700 | |
commit | 8282ed23488b734f126bf58fc18474c4a7db5c23 (patch) | |
tree | 994b4919a16917a71570c47e7bd5bbdb54e5d54d /qthelper.cpp | |
parent | 9d0f2a6571f541862fd8204c067ea2f5ed2c4091 (diff) | |
parent | 57507cfb93984e520fdd9545c84ea3b921c2914e (diff) | |
download | subsurface-8282ed23488b734f126bf58fc18474c4a7db5c23.tar.gz |
Merge branch 'cloudstorage'
Diffstat (limited to 'qthelper.cpp')
-rw-r--r-- | qthelper.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qthelper.cpp b/qthelper.cpp index a85be003e..fb688746e 100644 --- a/qthelper.cpp +++ b/qthelper.cpp @@ -1024,8 +1024,7 @@ fraction_t string_to_fraction(const char *str) int getCloudURL(QString &filename) { QString email = QString(prefs.cloud_storage_email); - email.replace("@", "_at_"); - email.replace(QRegularExpression("[^a-zA-Z0-9._+-]"), ""); + email.replace(QRegularExpression("[^a-zA-Z0-9@._+-]"), ""); if (email.isEmpty() || same_string(prefs.cloud_storage_password, "")) return report_error("Please configure Cloud storage email and password in the preferences"); if (email != prefs.cloud_storage_email_encoded) { |