-
Notifications
You must be signed in to change notification settings - Fork 450
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
updated test cases and family name for SznProhlizec #304
Conversation
4ccb6c1
to
28d096c
Compare
Thank you for future merge ;-) |
+1 |
@panther7 Thanks for the pull request. :) Why not use According to your unit tests in tests/test_ua.yaml, this simplified regex would works just as well. Perhaps you are addressing other user agent strings that are not part of the unit tests. |
@sunknudsen Because, I don't want "-12345" in patch version. This doesn't affect public releases but internal releases can have this suffix. Thanks for understand ;-)
|
@panther7 According to spec @commenthol Should contributors add unit tests for internal release use cases such as #304 (comment) to tests/test_ua.yaml?
|
@sunknudsen ... :-/
But I could use |
@panther7 Thanks for updating the test. Waiting for the feedback of @commenthol about documenting internal use cases before merging your pull request. I'm new to the project so want to make sure I respect conventions. Have a nice day! |
01f905b
to
e2f3a7b
Compare
Commit 45fb215 looks good to me. Well |
@@ -270,7 +270,7 @@ user_agent_parsers: | |||
|
|||
# Seznam.cz browser (based on WebKit) | |||
- regex: '(SznProhlizec)/(\d+)\.(\d+)(?:\.(\d+))?' | |||
family_replacement: 'Seznam.cz' | |||
family_replacement: 'Seznam prohlížeč' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is the first instance of a non-ASCII family value. This will cause issues for those wanting to use the family value in a HTTP header as they are only US-ASCII. Would it be possible to have an ASCII based alternative value as well? E.G. family_replacement_ascii: 'Seznam.cz'
^ @bambooCZ