فهرست منبع

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 سال پیش
والد
کامیت
514a494cf9
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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 == '_') {
            c == '-' || c == '_') {
             putchar(c);
             putchar(c);
         } else {
         } else {
-            printf("%%%x", c);
+            printf("%%%02x", c);
         }
         }
         c_ptr++;
         c_ptr++;
     }
     }