Przeglądaj źródła

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 1 rok temu
rodzic
commit
514a494cf9
1 zmienionych plików z 1 dodań i 1 usunięć
  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++;
     }