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

double slash using ${weechat_config_dir} #2070

Closed
weechatter opened this issue Feb 9, 2024 · 0 comments
Closed

double slash using ${weechat_config_dir} #2070

weechatter opened this issue Feb 9, 2024 · 0 comments
Assignees
Labels
bug Unexpected problem or unintended behavior
Milestone

Comments

@weechatter
Copy link
Contributor

weechatter commented Feb 9, 2024

Describe the bug

WeeChat does not check if a slash already exists in ${weechat_config_dir}

Steps to reproduce

  1. start weechat with weechat -d ~/.weechat/ (with the trailing slash)
  2. /eval -n ${weechat_config_dir}/ecdsa.pem

Current behavior

/eval -n ${weechat_config_dir}/ecdsa.pem
== [/home/pi/.weechat//ecdsa.pem] 

Expected behavior

/eval -n ${weechat_config_dir}/ecdsa.pem
== [/home/pi/.weechat/ecdsa.pem]

Suggested solutions

No response

Additional information

No response

WeeChat version

4.3.0-dev

What OS are you using?

raspbian

On which terminal are you running WeeChat?

konsole

Which terminal multiplexer are you using?

tmux

@weechatter weechatter added the bug Unexpected problem or unintended behavior label Feb 9, 2024
@flashcode flashcode added this to the 4.3.0 milestone Feb 10, 2024
@flashcode flashcode self-assigned this Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants