Skip to content

Fix hostname matching articles #3125

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

Merged
merged 3 commits into from
Nov 3, 2013
Merged

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Oct 29, 2013

The articles were talking about host regexes, while they are no regex but simple strings.
This PR fixes that. It also includes more information how to match multiple hostnames (which
is a common use case for regexes).

Q A
New docs? yes
Doc fix? yes
Applies to all
Fixed tickets -


projects_homepage:
path: /
host: {project_name}.example.com
Copy link
Member

Choose a reason for hiding this comment

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

you need to quote this value, because { would start a YAML hash here, not be parsed as the first char of a string value, and this could be a parse error (because of the end of the string)

weaverryan added a commit that referenced this pull request Nov 3, 2013
@weaverryan weaverryan merged commit a323579 into symfony:2.2 Nov 3, 2013
@weaverryan
Copy link
Member

This is awesome - great work Wouter!

@wouterj wouterj deleted the hostname_wording_fix branch November 3, 2013 19:00
@wouterj
Copy link
Member Author

wouterj commented Nov 3, 2013

You're welcome :)

It's one of my first text-adding PRs without a 'fix' commit from you I think! I'm slowly learning english...

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.

3 participants