Skip to content

Commit

Permalink
feat: upgrade 1.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqiufeng committed Jul 31, 2024
1 parent a102bba commit 1929ed4
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion connector-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>connector</artifactId>
<groupId>com.tuya</groupId>
<version>1.3.8</version>
<version>1.4.4</version>
</parent>

<artifactId>connector-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ public class HttpRequest {
byte[] body;
HttpUrl httpUrl;

private String orginalPath() {
String p = httpUrl.scheme() + "://" + httpUrl.host();
if (httpUrl.port() != 80 && httpUrl.port() != 443) {
p += ":" + httpUrl.port();
}
public String originalPath() {
List<String> pathSegments = httpUrl.pathSegments();
if (pathSegments.isEmpty()) {
return "";
}
StringBuilder p = new StringBuilder();
for (String pathSegment : pathSegments) {
p += "/" + pathSegment;
p.append("/").append(pathSegment);
}
return p;
return p.toString();
}

}
2 changes: 1 addition & 1 deletion connector-messaging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>connector</artifactId>
<groupId>com.tuya</groupId>
<version>1.3.8</version>
<version>1.4.4</version>
</parent>

<artifactId>connector-messaging</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>connector-spring-boot</artifactId>
<groupId>com.tuya</groupId>
<version>1.3.8</version>
<version>1.4.4</version>
</parent>

<artifactId>connector-spring-boot-autoconfigure</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>connector-spring-boot</artifactId>
<groupId>com.tuya</groupId>
<version>1.3.8</version>
<version>1.4.4</version>
</parent>

<artifactId>connector-spring-boot-starter</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion connector-spring-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>connector</artifactId>
<groupId>com.tuya</groupId>
<version>1.3.8</version>
<version>1.4.4</version>
</parent>

<artifactId>connector-spring-boot</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion connector-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>connector</artifactId>
<groupId>com.tuya</groupId>
<version>1.3.8</version>
<version>1.4.4</version>
</parent>

<artifactId>connector-spring</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>com.tuya</groupId>
<artifactId>connector</artifactId>
<packaging>pom</packaging>
<version>1.3.8</version>
<version>1.4.4</version>

<modules>
<module>connector-api</module>
Expand Down

0 comments on commit 1929ed4

Please sign in to comment.