Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 376869 - Context query parsing skips a character when parsing escaped characters
Summary: Context query parsing skips a character when parsing escaped characters
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Agent (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.0.0   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-16 09:09 EDT by Manuel Coutand CLA
Modified: 2013-06-05 05:42 EDT (History)
0 users

See Also:


Attachments
Proposed patch (1.15 KB, patch)
2012-04-16 09:11 EDT, Manuel Coutand CLA
mober.at+eclipse: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Coutand CLA 2012-04-16 09:09:55 EDT
Build Identifier: 

the parse_context_query function adds 2 characters instead of one after skipping the \



Reproducible: Always

Steps to Reproduce:
1. run ContextQuery query "\\\\a"
Comment 1 Manuel Coutand CLA 2012-04-16 09:11:49 EDT
Created attachment 214049 [details]
Proposed patch

Here is a proposed patch for this bug.
Comment 2 Eugene Tarassov CLA 2012-04-16 15:18:38 EDT
I have committed the patch.
Thanks!
Comment 3 Martin Oberhuber CLA 2013-05-24 17:30:20 EDT
Comment on attachment 214049 [details]
Proposed patch

iplog- since git has the author:

http://git.eclipse.org/c/tcf/org.eclipse.tcf.agent.git/commit/?id=161218547d8948da5591046ba45982a99eb5b2cc