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

Escape slashes in branch overview commit messages #2560

Merged
merged 1 commit into from Mar 20, 2019
Merged

Escape slashes in branch overview commit messages #2560

merged 1 commit into from Mar 20, 2019

Conversation

FreHu
Copy link
Collaborator

@FreHu FreHu commented Mar 20, 2019

I managed to break my branch overview graph by accidentally leaving \ at the end of a commit message (it's close to enter on many keyboards).

The message is passed into a javascript string with \ unescaped, where it acts as an escape character to an ending quote and causes a syntax error:
4lPc9Lmg0P

Here you can see the branch overview page with/without the fix:
image

Test using this repo or any other repo with a \ in one of its commits.
https://github.com/FreHu/abapgit-branch-overview

@larshp larshp merged commit 79905cc into abapGit:master Mar 20, 2019
@FreHu FreHu deleted the patch-2 branch March 20, 2019 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants