Skip to content
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

New InputValidator::is_valid_rfc2616_token() method #849

Merged
merged 10 commits into from
Feb 12, 2024

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Dec 11, 2023

Pull Request Type

This is a:

  • Bug fix
  • New feature
  • Documentation improvement
  • Code quality improvement

Context

The new method is intended to be used as a helper to allow for making solving #845 / #847 more straight-forward.

Detailed Description

This new method validates that an arbitrary input parameter can be considered valid for use as a "token" as per the RFC 2616 specification.

Includes tests.

Ref: https://datatracker.ietf.org/doc/html/rfc2616#section-2.2

@jrfnl jrfnl added this to the 2.1.0 milestone Dec 11, 2023
@jrfnl jrfnl mentioned this pull request Dec 11, 2023
11 tasks
@jrfnl jrfnl force-pushed the feature/inputvalidator-new-valid-token-method branch from dc3619e to 72841c3 Compare December 11, 2023 17:19
@schlessera schlessera force-pushed the feature/inputvalidator-new-valid-token-method branch from 701f7a0 to feb739d Compare January 8, 2024 11:16
src/Utility/InputValidator.php Outdated Show resolved Hide resolved
src/Utility/InputValidator.php Outdated Show resolved Hide resolved
@schlessera schlessera force-pushed the feature/inputvalidator-new-valid-token-method branch from fef3fb6 to 80cd9e5 Compare January 8, 2024 17:40
@schlessera
Copy link
Member

@jrfnl I've made the changes we've discussed in the call. Do you want to take a final look?

@jrfnl
Copy link
Member Author

jrfnl commented Jan 9, 2024

@schlessera Thanks for working on this together. all looks good to me.

@jrfnl
Copy link
Member Author

jrfnl commented Jan 9, 2024

@schlessera Shall I clean up the branch before merge ? Or will you squash merge ?

@schlessera schlessera merged commit c7977fc into develop Feb 12, 2024
30 checks passed
@schlessera schlessera deleted the feature/inputvalidator-new-valid-token-method branch February 12, 2024 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants