Details
-
Bug
-
Resolution: Fixed
-
High
-
5.4.2, 5.5.1
-
None
-
1
-
Severity 3 - Minor
-
Description
Summary
Bitbucket version for Windows use incorrect quotation approach in Git commands so all the quotation marks in the beginning and the end of the commit message are lost.
Environment
Windows Server 2012, Windows 10, amd64
Oracle JRE 1.8.0_102-b14
Oracle JRE 1.8.0_144-b01
OpenJDK 8 build b132
On Linux instances the issue cannot be reproduced.
Steps to Reproduce
- Push a plain-text file to Bitbucket Server.
- Browse to that file in the web UI.
- Click Edit.
- Type some more text in the web editor.
- Click Commit.
- Bitbucket Server asks for a commit message. Type the following, including quotation marks, and without leading or trailing spaces: "three" and "four"
- Click Commit.
- Click the Commits icon in the sidebar.
Expected Results
The commit message is "three" and "four"
Actual Results
The commit message is three" and "four
In the logs:
2017-11-24 14:58:18,739 DEBUG [http-nio-7990-exec-7] admin @1CAI0LRx898x214x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /rest/api/latest/inbox/pull-requests/count HTTP/1.1" c.a.s.i.rest.inbox.InboxResource Retrieving pull request count for user Admin 2017-11-24 14:58:30,533 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x219x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /users/admin/repos/myrepo/browse HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe cat-file -t refs/heads/master: 2017-11-24 14:58:30,592 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x219x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /users/admin/repos/myrepo/browse HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe ls-tree -z -l refs/heads/master: 2017-11-24 14:58:30,631 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x219x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /users/admin/repos/myrepo/browse HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe cat-file --batch 2017-11-24 14:58:30,725 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x219x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /users/admin/repos/myrepo/browse HTTP/1.1" c.a.s.i.p.w.f.RequestCacheClientPageDataHandler Context bitbucket.branch.layout.actions.dropdown was required already. Ignoring. 2017-11-24 14:58:30,726 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x219x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /users/admin/repos/myrepo/browse HTTP/1.1" c.a.s.i.p.w.f.RequestCacheClientPageDataHandler Context bitbucket.web.repository.clone.dialog.options was required already. Ignoring. 2017-11-24 14:58:31,471 DEBUG [http-nio-7990-exec-3] admin @1CAI0LRx898x223x1 1q5xqa 0:0:0:0:0:0:0:1 "GET /rest/api/latest/inbox/pull-requests/count HTTP/1.1" c.a.s.i.rest.inbox.InboxResource Retrieving pull request count for user Admin 2017-11-24 14:58:31,684 DEBUG [http-nio-7990-exec-10] admin @1CAI0LRx898x220x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /rest/api/latest/projects/~ADMIN/repos/myrepo/last-modified HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe ls-tree c6046a314da94cd48c36799e534946143860f19d: 2017-11-24 14:58:31,789 DEBUG [http-nio-7990-exec-10] admin @1CAI0LRx898x220x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /rest/api/latest/projects/~ADMIN/repos/myrepo/last-modified HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe rev-list --format=%H%x02%P%x02%aN%x02%aE%x02%at%x02%cN%x02%cE%x02%ct%n%B%n%x03END%x04 -1 c6046a314da94cd48c36799e534946143860f19d -- mytext.txt 2017-11-24 14:58:31,789 DEBUG [http-nio-7990-exec-10] admin @1CAI0LRx898x220x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /rest/api/latest/projects/~ADMIN/repos/myrepo/last-modified HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe rev-list --format=%H%x02%P%x02%aN%x02%aE%x02%at%x02%cN%x02%cE%x02%ct%n%B%n%x03END%x04 -1 c6046a314da94cd48c36799e534946143860f19d -- 2017-11-24 14:58:33,054 DEBUG [http-nio-7990-exec-5] admin @1CAI0LRx898x226x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /users/admin/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe cat-file -t refs/heads/master:mytext.txt 2017-11-24 14:58:33,184 DEBUG [http-nio-7990-exec-5] admin @1CAI0LRx898x226x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /users/admin/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe log --format=commit %H%n%H%x02%P%x02%aN%x02%aE%x02%at%x02%cN%x02%cE%x02%ct%n%B%n%x03END%x04 --no-min-parents --stdin --follow --name-status -- mytext.txt 2017-11-24 14:58:33,284 DEBUG [http-nio-7990-exec-5] admin @1CAI0LRx898x226x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /users/admin/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.s.i.p.w.f.RequestCacheClientPageDataHandler Context bitbucket.file-content.source.toolbar.primary was required already. Ignoring. 2017-11-24 14:58:33,285 DEBUG [http-nio-7990-exec-5] admin @1CAI0LRx898x226x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /users/admin/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.s.i.p.w.f.RequestCacheClientPageDataHandler Context bitbucket.file-content.source.toolbar.secondary was required already. Ignoring. 2017-11-24 14:58:33,285 DEBUG [http-nio-7990-exec-5] admin @1CAI0LRx898x226x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /users/admin/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.s.i.p.w.f.RequestCacheClientPageDataHandler Context bitbucket.branch.layout.actions.dropdown was required already. Ignoring. 2017-11-24 14:58:33,285 DEBUG [http-nio-7990-exec-5] admin @1CAI0LRx898x226x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /users/admin/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.s.i.p.w.f.RequestCacheClientPageDataHandler Context bitbucket.web.repository.clone.dialog.options was required already. Ignoring. 2017-11-24 14:58:34,335 DEBUG [http-nio-7990-exec-2] admin @1CAI0LRx898x228x1 1q5xqa 0:0:0:0:0:0:0:1 "GET /rest/api/latest/inbox/pull-requests/count HTTP/1.1" c.a.s.i.rest.inbox.InboxResource Retrieving pull request count for user Admin 2017-11-24 14:58:34,481 DEBUG [http-nio-7990-exec-1] admin @1CAI0LRx898x227x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe cat-file -t master:mytext.txt 2017-11-24 14:58:34,484 DEBUG [http-nio-7990-exec-1] admin @1CAI0LRx898x227x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.s.i.s.g.DefaultGitCommandFactory Using git cat-file to retrieve content for mytext.txt at master 2017-11-24 14:58:34,577 DEBUG [http-nio-7990-exec-1] admin @1CAI0LRx898x227x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe cat-file -p master:mytext.txt 2017-11-24 14:58:57,871 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.s.internal.scm.git.RawGitAgent ~ADMIN/myrepo[1]: Repository is not empty 2017-11-24 14:58:57,871 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.s.i.s.g.p.ShinyGitPorcelain 1: Cloning to C:\Atlassian\ApplicationData\Bitbucket\tmp\git\myrepo-work8685825990400831311.git 2017-11-24 14:58:58,324 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe clone --no-checkout --shared -b master C:\Atlassian\ApplicationData\Bitbucket\shared\data\repositories\1 C:\Atlassian\ApplicationData\Bitbucket\tmp\git\myrepo-work8685825990400831311.git 2017-11-24 14:58:58,324 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.b.s.g.c.GitCommandExitHandler C:\Program Files\Git\cmd\git.exe clone --no-checkout --shared -b master C:\Atlassian\ApplicationData\Bitbucket\shared\data\repositories\1 C:\Atlassian\ApplicationData\Bitbucket\tmp\git\myrepo-work8685825990400831311.git did not fail, but the following was written to stderr: Cloning into 'C:\Atlassian\ApplicationData\Bitbucket\tmp\git\myrepo-work8685825990400831311.git'... done. 2017-11-24 14:58:58,324 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.s.i.s.g.p.ShinyGitPorcelain 1: Resetting C:\Atlassian\ApplicationData\Bitbucket\tmp\git\myrepo-work8685825990400831311.git to clean the index 2017-11-24 14:58:58,411 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe reset --quiet c6046a314da94cd48c36799e534946143860f19d -- 2017-11-24 14:58:58,469 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe cat-file --batch 2017-11-24 14:58:58,538 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe checkout --quiet HEAD -- mytext.txt 2017-11-24 14:58:58,603 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe status --short -- mytext.txt 2017-11-24 14:58:58,714 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe -c core.autocrlf=input -c core.safecrlf=warn commit -m "three" and "four" -q -- mytext.txt 2017-11-24 14:58:58,715 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.b.s.g.c.GitCommandExitHandler C:\Program Files\Git\cmd\git.exe -c core.autocrlf=input -c core.safecrlf=warn commit -m "three" and "four" -q -- mytext.txt did not fail, but the following was written to stderr: warning: CRLF will be replaced by LF in mytext.txt. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in mytext.txt. The file will have its original line endings in your working directory. 2017-11-24 14:58:58,719 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.s.i.s.g.m.ObjectFetchStrategy ~ADMIN/myrepo refs/heads/master -> refs/heads/master: Fetching single-repository merge by copying new objects 2017-11-24 14:58:58,800 DEBUG [http-nio-7990-exec-9] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe update-ref refs/heads/master 63e9548110fce92d6cdf96d16259125dae09d87c c6046a314da94cd48c36799e534946143860f19d 2017-11-24 14:58:58,833 DEBUG [ref-sync-listener:thread-1] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.s.i.r.s.auto.AutoRefSyncListener ~ADMIN/myrepo[1]: Not updating status; synchronization is either not enabled or not available 2017-11-24 14:58:58,842 DEBUG [commit-indexing:thread-2] c.a.s.i.i.DefaultCommitIndexingService [~ADMIN/myrepo[1]] Request for indexing received 2017-11-24 14:58:58,843 DEBUG [commit-indexing:thread-2] c.a.s.i.i.DefaultCommitIndexingService [~ADMIN/myrepo[1]] Starting indexing with indexers [com.atlassian.bitbucket.JiraKeyIndexer] 2017-11-24 14:58:58,837 DEBUG [AtlassianEvent::thread-2] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.e.r.impl.RemoteEventListener Queueing RemoteEvent com.atlassian.stash.plugin.remote.event.StashRepositoryRefsChangedEvent@6857fb91[cloneLinks=[CloneLink{name=http, href=http://admin@localhost:7990/scm/~admin/myrepo.git}, CloneLink{name=ssh, href=ssh://git@localhost:7999/~admin/myrepo.git}],repositoryProject=~ADMIN,repositorySlug=myrepo,committer=admin,sourceId=<null>,sourceUrl=<null>] 2017-11-24 14:58:58,860 DEBUG [AtlassianEvent::thread-2] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.e.r.impl.RemoteEventDispatcher RemoteEvent com.atlassian.stash.plugin.remote.event.StashRepositoryRefsChangedEvent@6857fb91[cloneLinks=[CloneLink{name=http, href=http://admin@localhost:7990/scm/~admin/myrepo.git}, CloneLink{name=ssh, href=ssh://git@localhost:7999/~admin/myrepo.git}],repositoryProject=~ADMIN,repositorySlug=myrepo,committer=admin,sourceId=<null>,sourceUrl=<null>] consumable by ArrayBuffer() 2017-11-24 14:58:58,863 DEBUG [AtlassianEvent::thread-2] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.e.r.impl.RemoteEventListener Batch size not exceeded for com.atlassian.stash.plugin.remote.event.StashRepositoryRefsChangedEvent@6857fb91[cloneLinks=[CloneLink{name=http, href=http://admin@localhost:7990/scm/~admin/myrepo.git}, CloneLink{name=ssh, href=ssh://git@localhost:7999/~admin/myrepo.git}],repositoryProject=~ADMIN,repositorySlug=myrepo,committer=admin,sourceId=<null>,sourceUrl=<null>] 2017-11-24 14:58:58,873 DEBUG [AtlassianEvent::thread-2] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.s.i.c.g.c.CachingCommitGraphSource [~ADMIN/myrepo[1]]: Checking RepositoryRefsChangedEvent; has adds/updates: true, is fork: false 2017-11-24 14:58:58,878 DEBUG [AtlassianEvent::thread-2] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.s.i.p.r.PullRequestRescopeBucketProcessor ~ADMIN/myrepo[1]: Scheduling rescope processing 2017-11-24 14:58:58,894 DEBUG [AtlassianEvent::thread-2] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.s.i.scm.git.gc.GitGarbageTruck [~ADMIN/myrepo[1]] Scheduling garbage collection 2017-11-24 14:58:58,947 DEBUG [AtlassianEvent::thread-1] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.e.r.impl.RemoteEventListener Queueing RemoteEvent com.atlassian.stash.plugin.remote.event.StashBranchChangedRemoteEvent@6915293d[branchName=master,repositoryProject=~ADMIN,repositorySlug=myrepo,committer=admin,sourceId=<null>,sourceUrl=<null>] 2017-11-24 14:58:58,947 DEBUG [AtlassianEvent::thread-1] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.e.r.impl.RemoteEventDispatcher RemoteEvent com.atlassian.stash.plugin.remote.event.StashBranchChangedRemoteEvent@6915293d[branchName=master,repositoryProject=~ADMIN,repositorySlug=myrepo,committer=admin,sourceId=<null>,sourceUrl=<null>] consumable by ArrayBuffer() 2017-11-24 14:58:58,948 DEBUG [AtlassianEvent::thread-1] admin @1CAI0LRx898x234x0 1q5xqa 0:0:0:0:0:0:0:1 "PUT /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.e.r.impl.RemoteEventListener Batch size not exceeded for com.atlassian.stash.plugin.remote.event.StashBranchChangedRemoteEvent@6915293d[branchName=master,repositoryProject=~ADMIN,repositorySlug=myrepo,committer=admin,sourceId=<null>,sourceUrl=<null>] 2017-11-24 14:58:59,712 DEBUG [commit-indexing:thread-2] c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe rev-list --format=%H%x02%P%x02%aN%x02%aE%x02%at%x02%cN%x02%cE%x02%ct%n%B%n%x03END%x04 --no-min-parents --stdin -- 2017-11-24 14:58:59,712 DEBUG [commit-indexing:thread-2] c.a.s.i.i.DefaultCommitIndexingService [~ADMIN/myrepo[1]] Scanning for deleted commits... 2017-11-24 14:58:59,727 DEBUG [commit-graph:thread-3] c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe rev-list --branches --ignore-missing --topo-order --parents --tags -- 2017-11-24 14:58:59,762 DEBUG [http-nio-7990-exec-1] admin @1CAI0LRx898x235x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe cat-file -t 63e9548110f:mytext.txt 2017-11-24 14:58:59,764 DEBUG [http-nio-7990-exec-1] admin @1CAI0LRx898x235x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.s.i.s.g.DefaultGitCommandFactory Using git cat-file to retrieve content for mytext.txt at 63e9548110f 2017-11-24 14:58:59,776 DEBUG [search-indexing:thread-1] c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe diff-tree --no-renames -r --format=%H c6046a314da94cd48c36799e534946143860f19d 63e9548110fce92d6cdf96d16259125dae09d87c -- 2017-11-24 14:58:59,857 DEBUG [commit-indexing:thread-2] c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe rev-list --format=%H%x02%P%x02%aN%x02%aE%x02%at%x02%cN%x02%cE%x02%ct%n%B%n%x03END%x04 --no-min-parents --stdin -- 2017-11-24 14:58:59,870 DEBUG [commit-indexing:thread-2] c.a.s.i.i.DefaultCommitIndexingService [~ADMIN/myrepo[1]] Indexed 1 commits 2017-11-24 14:58:59,886 DEBUG [search-indexing:thread-1] c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe cat-file --batch-check 2017-11-24 14:58:59,902 DEBUG [http-nio-7990-exec-1] admin @1CAI0LRx898x235x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /rest/api/latest/projects/~ADMIN/repos/myrepo/browse/mytext.txt HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe cat-file -p 63e9548110f:mytext.txt 2017-11-24 14:59:00,120 DEBUG [search-indexing:thread-1] c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe cat-file --batch 2017-11-24 14:59:00,122 DEBUG [search-indexing:thread-1] c.a.b.s.i.i.BufferOnSizeAndCount Flushing remaining 1 items with file content size 45 B 2017-11-24 14:59:00,184 DEBUG [search-indexing:thread-1] c.a.b.s.i.i.e.DefaultIndexEventWorker Indexing - Results for repository ~ADMIN/myrepo (id: 1) is: IndexFilesResult{moreIndexingRequired=false, requestStatistics=RequestStatistics{failedDocumentIds=[], numRequests=1, numDocumentActions=1, numFailedRequests=0, numPartiallyFailedRequests=0, time=37 ms}} 2017-11-24 14:59:00,184 DEBUG [search-indexing:thread-1] c.a.b.s.i.i.e.DefaultIndexEventWorker Indexing - Completed indexing for repository ~ADMIN/myrepo (id: 1) 2017-11-24 14:59:02,543 DEBUG [http-nio-7990-exec-4] admin @1CAI0LRx899x237x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /users/admin/repos/myrepo/commits HTTP/1.1" c.a.s.internal.scm.git.RawGitAgent ~ADMIN/myrepo[1]: Repository is not empty 2017-11-24 14:59:02,589 DEBUG [http-nio-7990-exec-4] admin @1CAI0LRx899x237x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /users/admin/repos/myrepo/commits HTTP/1.1" c.a.bitbucket.scm.BaseCommand Executed C:\Program Files\Git\cmd\git.exe rev-list --format=%H%x02%P%x02%aN%x02%aE%x02%at%x02%cN%x02%cE%x02%ct%n%B%n%x03END%x04 --no-min-parents --stdin -- 2017-11-24 14:59:02,661 DEBUG [http-nio-7990-exec-4] admin @1CAI0LRx899x237x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /users/admin/repos/myrepo/commits HTTP/1.1" c.a.s.i.p.w.f.RequestCacheClientPageDataHandler Context bitbucket.branch.layout.actions.dropdown was required already. Ignoring. 2017-11-24 14:59:02,661 DEBUG [http-nio-7990-exec-4] admin @1CAI0LRx899x237x0 1q5xqa 0:0:0:0:0:0:0:1 "GET /users/admin/repos/myrepo/commits HTTP/1.1" c.a.s.i.p.w.f.RequestCacheClientPageDataHandler Context bitbucket.web.repository.clone.dialog.options was required already. Ignoring. 2017-11-24 14:59:03,387 DEBUG [http-nio-7990-exec-7] admin @1CAI0LRx899x241x1 1q5xqa 0:0:0:0:0:0:0:1 "GET /rest/api/latest/inbox/pull-requests/count HTTP/1.1" c.a.s.i.rest.inbox.InboxResource Retrieving pull request count for user Admin 2017-11-24 14:59:03,470 DEBUG [http-nio-7990-exec-8] admin @1CAI0LRx899x240x2 1q5xqa 0:0:0:0:0:0:0:1 "POST /rest/tags/latest/projects/~ADMIN/repos/myrepo/tags HTTP/1.1" c.a.b.internal.tag.idx.TagIndexer [~ADMIN/myrepo[1]] reading tag index
Workaround
Use backslash for escaping before each single or double quotes:
\"three\" or \"four\"