Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 340458

Summary: Figure out how to put resource URLs in the hash
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Simon Kaegi <simon_kaegi>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: simon_kaegi, susan, Szymon.Brandys, tomasz.zarna
Version: 0.2   
Target Milestone: 0.4 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2011-03-18 12:32:27 EDT
In coding.html we use the hash to store the URL of the resource being edited,
and also to provide "line" and "char" parameters to the editor in a query-style format, Eg. coding.html#/path/to/file.txt?line=25&char=6

This is ambiguous when the resource URL includes "?&". For example we can't
distinguish between

> coding.html#file.txt?parts=body

and

> coding.html#file.txt?line=25

We need to address this if we plan to continue putting both resource URLs and task-parameters inside the hash.
Comment 1 Mark Macdonald CLA 2012-01-23 11:38:12 EST
Has this been resolved by the URITemplates?
Comment 2 Simon Kaegi CLA 2012-01-23 14:47:42 EST
I think so. Let me track down all the related bugs.
Comment 3 Simon Kaegi CLA 2012-01-30 16:46:13 EST
Fixed with the introduction of URI Templates. We still need to start using the support across all pages however that are separate bugs.
Comment 4 Simon Kaegi CLA 2012-01-30 16:47:45 EST
*** Bug 363960 has been marked as a duplicate of this bug. ***