raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=632a7d11af51d33ac7220319cd38bdabe1dc6f20

commit 632a7d11af51d33ac7220319cd38bdabe1dc6f20
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Wed Jul 15 14:53:08 2020 +0100

    e polkit - fix password to de-escape to utf8
    
    like askpass was broken - this was too. fix.
    
    @fix
---
 src/modules/polkit/auth_ui.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/polkit/auth_ui.c b/src/modules/polkit/auth_ui.c
index d8d10aa87..e45d50b71 100644
--- a/src/modules/polkit/auth_ui.c
+++ b/src/modules/polkit/auth_ui.c
@@ -50,7 +50,7 @@ _cb_ok(void *data EINA_UNUSED, Evas_Object *obj,
                                                   _auth_cb_exit, ps);
    if (str)
      {
-        char *passwd = strdup(str);
+        char *passwd = elm_entry_markup_to_utf8(str);
         if (passwd)
           {
              ps->auth_pid = e_auth_polkit_begin(passwd, ps->cookie, 
ps->target_uid);

-- 


Reply via email to