Skip to content

Commit 7f03544

Browse files
committed
Absolute URL can be seted in HttpClient so it behave like in the past
Issue: 88610
1 parent f0857ce commit 7f03544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/com/genexus/internet/GXHttpClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ public void setIsURL(boolean isURL) {
532532
protected String setPathUrl(String url) {
533533
if (!getIsURL()) { // Si no es URL absoluta
534534
if (!getBaseURL().isEmpty()) {
535-
if (!getBaseURL().startsWith("/"))
535+
if (!getBaseURL().startsWith("/") && !getBaseURL().startsWith("http"))
536536
setBaseURL("/" + getBaseURL());
537537
if (url.isEmpty())
538538
url = getBaseURL();

0 commit comments

Comments
 (0)