Celestia URLs are not URL encoded

Report bugs, bug fixes and workarounds here.
Topic author
jdavies
Posts: 65
Joined: 05.12.2008
With us: 15 years 11 months

Celestia URLs are not URL encoded

Post #1by jdavies » 29.01.2009, 17:55

Just a quick note, when Celestia creates a URL (using the CTRL+C keystroke) the resulting URL is not properly URL encoded. For example, when observing a satellite named "OFEQ 7" the resulting URL is:

Code: Select all

cel://Follow/Sol:Earth:OFEQ 7/2009-01-29T17:53:26.53329?x=3wbP4QU&y=+IszDAE&z=7l5Jpgk&ow=0.961725&ox=0.0440697&oy=-0.270087&oz=-0.0139648&select=Sol:Earth:OFEQ 7&fov=35.5732&ts=1&ltd=0&p=0&rf=1955607&lm=2179&tsrc=0&ver=3


The whitespace should be altered to %20. This is also a problem for satellites with the "[+]" notation in their names (of which there are many). Is it possible to get Celestia to do this URL encoding? Many thanks!

- Jeff

rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Re: Celestia URLs are not URL encoded

Post #2by rthorvald » 29.01.2009, 23:00

Another URL bug, this one regarding InfUrls:
The # (anchor) tag in InfoUrls are not properly escaped, it is just substituted with %23. That does not work, at least not in Firefox.

(Sorry for the threadjack, just thought it was tidy to have these in the same spot).

- rthorvald
Image

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Re: Celestia URLs are not URL encoded

Post #3by chris » 30.01.2009, 21:16

Thanks for noting these bugs... Anyone care to enter them in the SourceForge bug tracker so that they're not forgotten?

http://sourceforge.net/tracker/?group_i ... tid=121302

--Chris

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: Celestia URLs are not URL encoded

Post #4by John Van Vliet » 30.01.2009, 23:24

--- edit ---
Last edited by John Van Vliet on 21.10.2013, 02:27, edited 1 time in total.

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Re: Celestia URLs are not URL encoded

Post #5by Chuft-Captain » 31.01.2009, 02:17

john Van Vliet wrote:OFEQ 7 i knew there was a reason i hated spaces in add on names , besides running Linux
OFEQ_7
OFEQ-7
OFEQ.7
If these bugs are fixed you wont have to hate them anymore. :wink:
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Re: Celestia URLs are not URL encoded

Post #6by Chuft-Captain » 09.02.2009, 14:51

chris wrote:Thanks for noting these bugs... Anyone care to enter them in the SourceForge bug tracker so that they're not forgotten?
Done. Bug#: 2581786
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Re: Celestia URLs are not URL encoded

Post #7by chris » 10.02.2009, 00:40

Chuft-Captain wrote:
chris wrote:Thanks for noting these bugs... Anyone care to enter them in the SourceForge bug tracker so that they're not forgotten?
Done. Bug#: 2581786

Thanks! I'm not sure if the fix will make it into 1.6.0. If not, then definitely the next version.

--Chris


Return to “Bugs”