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

fix: sanitize colons too in tmux session name #150

Merged

Conversation

sgherdao
Copy link
Contributor

Hi,

A very minor one:

Fixes a bug with cml tmux when the lab name contains a colon (e.g. Lab at Sat 20:54 PM)

libtmux:
tmux(1) session names may not be empty, or include periods or colons. These delimiters are reserved for noting session, window and pane.

(Starting, tmux 3.2+ sanitize colons and periods, replacing them with underscore.)

Fixes a bug with `cml tmux` when the lab name contains a colon (e.g. Lab at Sat 20:54 PM)

libtmux:
tmux(1) session names may not be empty, or include periods or colons.
These delimiters are reserved for noting session, window and pane.

(Starting, tmux 3.2+ sanitize colons and periods, replacing them with underscore.)
@coveralls
Copy link

coveralls commented Apr 20, 2024

Pull Request Test Coverage Report for Build 8768170635

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 73.955%

Totals Coverage Status
Change from base Build 8694338147: 0.0%
Covered Lines: 1698
Relevant Lines: 2296

💛 - Coveralls

@xorrkaz xorrkaz merged commit e81069b into CiscoDevNet:joe-dev Apr 21, 2024
6 checks passed
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