Skip to content

[Bug] Executing install.sh failed when password and others contain @ #6781

@tracehh

Description

@tracehh

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

sed -i ${txt} "s@^spring.datasource.password=.*@spring.datasource.password=${password}@g" conf/datasource.properties

when ${password} is qwer@1234

What you expected to happen

Executing sed -i is not error

How to reproduce

Set password qwer@1234 in install_config.conf, then execute install.sh

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Waiting for replyWaiting for replybugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions