Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340458 - Figure out how to put resource URLs in the hash
Summary: Figure out how to put resource URLs in the hash
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.4 M2   Edit
Assignee: Simon Kaegi CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-18 12:32 EDT by Mark Macdonald CLA
Modified: 2012-01-30 16:47 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***