graphql-hive / graphql-hive/console

Invitation Link not correctly send when dot is at wrong place in url

Open
#7,702 3 comments 0 reactions 0 assignees View on GitHub
bug good first issue help wanted
Dominant language
TypeScript
Stars
483
Forks
145
Avg merge
2d 5h
Merged PRs (30d)
65

Description

Hi team,
we are very happy to use a self hosted hive console for our graphql. Some weeks ago, we changed our domain from

```
https://graphql-hive-dataservicelayer-prod.prod.zzzzzzz.aa.bbbbbb.cccc/xxxxxx
```

something like

```
https://graphql-hive-dataservicelayer-prod.proddsl.zzzzzzz.aa.bbbbbb.cccc/xxxxxx
```

(I need to mask the real domain because of sensitive data, but the length of the domain and subdomains is correct)

When I now invite colleagues, the invitation link is correctly generated https://graphql-hive-dataservicelayer-prod.proddsl.zzzzzzz.aa.bbbbbb.cccc/join/3f6f16d1c but in the email the dot between proddsl and zzzzzzz is missing and it looks like https://graphql-hive-dataservicelayer-prod.proddslzzzzzzz.aa.bbbbbb.cccc/join/3f6f16d1c

I looked at the logs of the email component and the line breaks in the logs are exactly at this place, so maybe this is related to the missing dot in the email

```
href=3D"https://graphql-hive-dataservicelayer-prod.proddsl=
.zzzzzzz.aa.bbbbbb.cccc/join/3f6f16d1c" style=3D"display:inline-block;backg=
round:#245850;color:#ffffff;font-family:Ubuntu, Helvetica, Arial, =
sans-serif;font-size:16px;font-weight:normal;line-height:120%;margin:0;text=
-decoration:none;text-transform:none;padding:10px 25px;mso-padding-alt:0px;=
border-radius:3px;" target=3D"_blank"
```

I would be happy to hear from you about this, it seems/feels like a bug in the hive component.

Best Stefan

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.