Skip to content

Commit afbac0a

Browse files
authored
Uploading a Blob File in SD apps gets bad request response from the server. (#730)
Issue: 102941
1 parent d2e7479 commit afbac0a

File tree

1 file changed

+1
-1
lines changed
  • java/src/main/java/com/genexus/specific/java

1 file changed

+1
-1
lines changed

java/src/main/java/com/genexus/specific/java/GXutil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public boolean shouldConvertDateTime(Date value, boolean isRest) {
148148

149149
@Override
150150
public String getRelativeURL(String path) {
151-
if (com.genexus.CommonUtil.isAbsoluteURL(path)) {
151+
if (com.genexus.CommonUtil.isAbsoluteURL(path) || CommonUtil.isUploadPrefix(path)) {
152152
return path;
153153
} else {
154154
String baseName = org.apache.commons.io.FilenameUtils.getBaseName(path);

0 commit comments

Comments
 (0)