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

CleanAndExpand function is broken #692

Closed
lukebp opened this issue Feb 13, 2019 · 1 comment · Fixed by #694
Closed

CleanAndExpand function is broken #692

lukebp opened this issue Feb 13, 2019 · 1 comment · Fixed by #694
Labels
bug A bug that made it into a production enviroment.

Comments

@lukebp
Copy link
Member

lukebp commented Feb 13, 2019

The CleanAndExpand function that is used throughout politeiawww and politeiad to clean and expand file paths is broken. It replaces the '~' character with the home directory of the application. It should be replacing it with the home directory of the OS.

@lukebp lukebp added the bug A bug that made it into a production enviroment. label Feb 13, 2019
@lukebp
Copy link
Member Author

lukebp commented Feb 13, 2019

The cleanAndExpand implementation should be taken from dcrd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug that made it into a production enviroment.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant