You've already forked imgproxy
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:
committed by
Sergey Alexandrovich
parent
1d210dde3b
commit
417a53d3ce
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user