Changeset 10092
- Timestamp:
- 2005-06-14T15:05:33+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/gtiaction.cpp
r10070 r10092 299 299 text_t chunk_key_escaped = escape_all(chunk_key, '_'); 300 300 301 // Need to escape any underscores, commas, parenthesesand single quotes in the chunk text301 // Need to escape any backslashes, underscores, commas, parentheses, and single quotes in the chunk text 302 302 text_t target_file_chunk_text = gti_response.target_file_chunks_key_to_text_mapping[chunk_key]; 303 text_t target_file_chunk_text_escaped = escape_all(target_file_chunk_text, '_'); 303 text_t target_file_chunk_text_escaped = escape_all(target_file_chunk_text, '\\'); 304 target_file_chunk_text_escaped = escape_all(target_file_chunk_text_escaped, '_'); 304 305 target_file_chunk_text_escaped = escape_all(target_file_chunk_text_escaped, ','); 305 306 target_file_chunk_text_escaped = escape_all(target_file_chunk_text_escaped, '('); … … 364 365 text_t chunk_key_escaped = escape_all(chunk_key, '_'); 365 366 366 // Need to escape any underscores, commas, parenthesesand single quotes in the chunk text367 // Need to escape any backslashes, underscores, commas, parentheses, and single quotes in the chunk text 367 368 text_t source_file_chunk_text = gti_response.source_file_chunks_key_to_text_mapping[chunk_key]; 368 text_t source_file_chunk_text_escaped = escape_all(source_file_chunk_text, '_'); 369 text_t source_file_chunk_text_escaped = escape_all(source_file_chunk_text, '\\'); 370 source_file_chunk_text_escaped = escape_all(source_file_chunk_text_escaped, '_'); 369 371 source_file_chunk_text_escaped = escape_all(source_file_chunk_text_escaped, ','); 370 372 source_file_chunk_text_escaped = escape_all(source_file_chunk_text_escaped, '('); … … 372 374 source_file_chunk_text_escaped = escape_all(source_file_chunk_text_escaped, '\''); 373 375 text_t target_file_chunk_text = gti_response.target_file_chunks_key_to_text_mapping[chunk_key]; 374 text_t target_file_chunk_text_escaped = escape_all(target_file_chunk_text, '_'); 376 text_t target_file_chunk_text_escaped = escape_all(target_file_chunk_text, '\\'); 377 target_file_chunk_text_escaped = escape_all(target_file_chunk_text_escaped, '_'); 375 378 target_file_chunk_text_escaped = escape_all(target_file_chunk_text_escaped, ','); 376 379 target_file_chunk_text_escaped = escape_all(target_file_chunk_text_escaped, '(');
Note:
See TracChangeset
for help on using the changeset viewer.