Skip to content

webui: fix password string length limitation#1251

Merged
pstorz merged 2 commits intomasterfrom
dev/fbergkemper/master/bug-0001480
Sep 13, 2022
Merged

webui: fix password string length limitation#1251
pstorz merged 2 commits intomasterfrom
dev/fbergkemper/master/bug-0001480

Conversation

@frb121
Copy link
Contributor

@frb121 frb121 commented Sep 8, 2022

This PR removes the max string length value from the form data input filter validator for the password input field to allow passwords longer than 64 characters.

Fixes #1480: password string length limitation

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

General
  • PR name is meaningful
  • Purpose of the PR is understood
  • Separate commit for this PR in the CHANGELOG.md, PR number referenced is same
  • Commit descriptions are understandable and well formatted
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR
  • bareos-check-sources --since-merge does not report any problems
  • git status should not report modifications in the source tree after building and testing
Tests
  • Decision taken that a test is not required (we wont extend the existing)

@frb121 frb121 self-assigned this Sep 8, 2022
@frb121 frb121 marked this pull request as draft September 8, 2022 13:42
@frb121 frb121 force-pushed the dev/fbergkemper/master/bug-0001480 branch from c0f5c2a to edc1e44 Compare September 8, 2022 15:04
@frb121 frb121 marked this pull request as ready for review September 8, 2022 15:11
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos left a comment

Choose a reason for hiding this comment

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

Nice improvement. Shouldn't we let a comment about the raise to 128 for Name length ?

@frb121
Copy link
Contributor Author

frb121 commented Sep 13, 2022

Nice improvement. Shouldn't we let a comment about the raise to 128 for Name length ?

It is just a small additional adjustment to correspond with https://docs.bareos.org/Configuration/CustomizingTheConfiguration.html#datatype-name which I don't think needs to be mentioned explicitly.

Copy link
Contributor

@bruno-at-bareos bruno-at-bareos left a comment

Choose a reason for hiding this comment

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

This PR is now approved, can be merged once green on Jenkins.
@pstorz can you take care of this one ?

This PR removes the max string length value from the form data input
filter validator for the password input field to allow passwords
longer than 64 characters.

Fixes #1480: password string length limitation
@frb121 frb121 force-pushed the dev/fbergkemper/master/bug-0001480 branch from 0ff20a8 to d69cdcc Compare September 13, 2022 15:33
@pstorz pstorz merged commit 2ac41fe into master Sep 13, 2022
@pstorz pstorz deleted the dev/fbergkemper/master/bug-0001480 branch September 13, 2022 15:39
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