Skip to content

Fix: Missing slash in path#87

Merged
christyjacob4 merged 1 commit intomainfrom
fix-path-bug-with-slash
Jul 22, 2024
Merged

Fix: Missing slash in path#87
christyjacob4 merged 1 commit intomainfrom
fix-path-bug-with-slash

Conversation

@Meldiron
Copy link
Contributor

No description provided.

@@ -1,6 +1,6 @@
OPR_EXECUTOR_ENV=development
OPR_EXECUTOR_RUNTIMES=php-8.1,dart-2.18,deno-1.24,node-18.0,python-3.10,ruby-3.1,cpp-17,dotnet-6.0
OPR_EXECUTOR_CONNECTION_STORAGE=file://localhost
Copy link
Contributor Author

@Meldiron Meldiron Jul 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This prevents test warning:

openruntimes-executor  | Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/vendor/utopia-php/dsn/src/DSN/DSN.php on line 128

LABEL maintainer="team@appwrite.io"

ENV DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
ENV DOCKER_API_VERSION=1.44
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This prevents test error:

Error response from daemon: client version 1.44 is too new. Maximum supported API version is 1.43

Comment on lines +1020 to +1023
if (!(\str_starts_with($path, '/'))) {
$path = '/' . $path;
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the main fox. Error before:

Internal curl errors has occurred within the executor! Error Number: 3. Error Msg: URL rejected: Port number was not a decimal number between 0 and 65535

@christyjacob4 christyjacob4 merged commit e1be74e into main Jul 22, 2024
@christyjacob4 christyjacob4 deleted the fix-path-bug-with-slash branch July 22, 2024 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants