Skip to content

Wildcard for hostname #2721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 12 commits into from
Closed

Wildcard for hostname #2721

wants to merge 12 commits into from

Conversation

Meldiron
Copy link
Contributor

@Meldiron Meldiron commented Jan 30, 2022

🚨 Utopia/framework release required before merge 🚨

What does this PR do?

We currently don't support hostname syntax *.myweb.com to allow all subdomains. With this PR, you can start using the wildcard symbol * for sections where you want to allow any value.

I also added a proper validator, so people are warned when trying to add hostname like http://myapp.com or myapp:8000.

Test Plan

The validator is properly tested at the library level. Current tests should pass.

  • Manual QA:
    image

Before:

image

After:

CleanShot 2022-03-28 at 11 18 15

(using https://8080-tringug-authmodal-8l5p3rlrnxe.ws-eu38xl.gitpod.io/examples/appwrite.html URL)

  • Validator QA:

CleanShot 2022-03-28 at 11 58 57

Related PRs and Issues

#2939

Have you read the Contributing Guidelines on issues?

✄1�7

@Meldiron Meldiron changed the title Logic rewritten into loop Wildcard for hostname Jan 30, 2022
@eldadfux
Copy link
Member

I like the feature. It would be great if we could encapsulate this logic inside a Utopia validator with proper tests.

@eldadfux
Copy link
Member

Let's add more information in the UI placeholder that allows devs to understand this feature better.

@Meldiron
Copy link
Contributor Author

The PR is outdated, I am going to update it 😇

@Meldiron Meldiron changed the base branch from master to 0.14.x March 28, 2022 07:37
@Meldiron Meldiron changed the base branch from 0.14.x to master April 11, 2022 16:27
@Meldiron Meldiron mentioned this pull request Apr 20, 2022
1 task
@Meldiron
Copy link
Contributor Author

This PR is a mess, also really old. Closing it, here is a new PR: #3124

@Meldiron Meldiron closed this Apr 20, 2022
@TorstenDittmann TorstenDittmann deleted the fix-wildcard-hostname branch September 10, 2023 15:57
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