1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-12-07 23:32:55 +02:00

Fix missing character in java example

This commit is contained in:
Aaron
2023-06-24 18:30:31 -07:00
committed by Sergey Alexandrovich
parent 1d210dde3b
commit 417a53d3ce

View File

@@ -20,7 +20,7 @@ public class ImgProxy{
String pathWithHash = signPath(key, salt, path);
assertEquals("/m3k5QADfcKPDj-SDI2AIogZbC3FlAXszuwhtWXYqavc/rs:fit:300:300/plain/http://img.example.com/pretty/image.jp", pathWithHash);
assertEquals("/m3k5QADfcKPDj-SDI2AIogZbC3FlAXszuwhtWXYqavc/rs:fit:300:300/plain/http://img.example.com/pretty/image.jpg", pathWithHash);
}
public static String signPath(byte[] key, byte[] salt, String path) throws Exception {