mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 15:36:53 +00:00
fix captcha shortening url path resolution
This commit is contained in:
1 parent
f6b3500e92
commit
b6ee074149
2 files changed
+73
-1
No files matched your search
+1
-1
@@ -28,7 +28,7 @@ public class ShortCodeExpander {
|
||||
}
|
||||
|
||||
public Optional<String> retrieve(final String shortCode) throws IOException {
|
||||
final URI uri = shortenerHost.resolve("/" + shortCode);
|
||||
final URI uri = shortenerHost.resolve(shortCode);
|
||||
final HttpRequest request = HttpRequest.newBuilder().uri(uri).GET().build();
|
||||
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user