Explorar el Código

fix: `totp export` command uses the wrong format to print url-encoded symbol.

Even though it doesn't directly affect user experience, but still would like to correct it
alex.kopachov hace 1 año
padre
commit
514a494cf9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      cli/plugins/export/export.c

+ 1 - 1
cli/plugins/export/export.c

@@ -41,7 +41,7 @@ static void print_uri_component(const char* data, size_t length) {
            c == '-' || c == '_') {
             putchar(c);
         } else {
-            printf("%%%x", c);
+            printf("%%%02x", c);
         }
         c_ptr++;
     }