plane icon indicating copy to clipboard operation
plane copied to clipboard

[bug]: Invitiation email appending http:// to https:// url

Open coltondick opened this issue 2 years ago • 5 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current behavior

When I invite new users to my plane instance the invitation url is malformed.

http://https//plane.example.com/workspace-member-invitation/[email protected]

Steps to reproduce

curl https://raw.githubusercontent.com/makeplane/plane/develop/docker-compose-hub.yml --output docker-compose.yml
curl https://raw.githubusercontent.com/makeplane/plane/develop/setup.sh --output setup.sh
chmod +x setup.sh
./setup.sh https://plane.example.com
set -a
source .env
set +a
docker compose up -d

Browser

Mozilla Firefox

Version

Self-hosted

coltondick avatar May 29 '23 18:05 coltondick

H, @coltondick! I would like to work on this!

roopeshsn avatar May 31 '23 06:05 roopeshsn

From the example url it seems : is missing in the original url schema:

http://https//plane.example.com/workspace-…
           ^^       

153957 avatar May 31 '23 07:05 153957

From the example url it seems : is missing in the original url schema:

http://https//plane.example.com/workspace-…
           ^^       

Here is the excerpt from my .env:

# Auto generated and Required that will be generated from setup.sh
NEXT_PUBLIC_API_BASE_URL=https://plane.example.com
SECRET_KEY="secret"
WEB_URL=https://plane.example.com

The documentation doesn't highlight any other method of setting the base URL.

coltondick avatar May 31 '23 15:05 coltondick

Note: This is working as expected when using the non-hub version of docker-compose.yml

docker-compose -f docker-compose.yml up --build -d

coltondick avatar May 31 '23 15:05 coltondick

Same issue with http. ':' is missing. URL in email is http//plane.example.com

yevhen-korientsov avatar Jun 03 '23 13:06 yevhen-korientsov

Hello @coltondick! We're glad to inform you that the issue you reported has been resolved in the latest Docker setup update. If you encounter any further difficulties or if the problem persists, please don't hesitate to reopen the issue.

pablohashescobar avatar Jun 10 '23 08:06 pablohashescobar