You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall" <he...@ungoverned.org> on 2009/05/27 16:42:24 UTC
FAQ page anchors not working
I was just looking at our OSGi FAQ:
http://felix.apache.org/site/apache-felix-osgi-faq.html
And noticed that the anchor links at the top do not work, nor do they
work for any of the other FAQs. They do appear to work on the source Wiki.
Is this a known issue? Does anyone know how to fix it?
-> richard
Re: FAQ page anchors not working
Posted by Stuart McCulloch <mc...@gmail.com>.
2009/5/27 Stuart McCulloch <mc...@gmail.com>
> 2009/5/27 Richard S. Hall <he...@ungoverned.org>
>
>> I was just looking at our OSGi FAQ:
>>
>> http://felix.apache.org/site/apache-felix-osgi-faq.html
>>
>> And noticed that the anchor links at the top do not work, nor do they work
>> for any of the other FAQs. They do appear to work on the source Wiki.
>>
>> Is this a known issue? Does anyone know how to fix it?
>>
>
> looks like an encoding issue, for example one exported anchor is:
>
> ApacheFelixOSGiFAQ-Shouldabundleimportitsownexportedpackages%253F
>
> but the working anchor (at least using Firefox, English locale) is:
>
> ApacheFelixOSGiFAQ-Shouldabundleimportitsownexportedpackages%3F
>
> ie. single-byte, not a double-byte beginning with "25"
>
looks like the anchor is getting double-encoded somewhere:
foo? --> foo%3F --> foo%253F (because % == 0x25)
but I'm not sure how to fix this :(
>
> -> richard
>>
>
> --
> Cheers, Stuart
>
--
Cheers, Stuart
Re: FAQ page anchors not working
Posted by Stuart McCulloch <mc...@gmail.com>.
2009/5/27 Richard S. Hall <he...@ungoverned.org>
> I was just looking at our OSGi FAQ:
>
> http://felix.apache.org/site/apache-felix-osgi-faq.html
>
> And noticed that the anchor links at the top do not work, nor do they work
> for any of the other FAQs. They do appear to work on the source Wiki.
>
> Is this a known issue? Does anyone know how to fix it?
>
looks like an encoding issue, for example one exported anchor is:
ApacheFelixOSGiFAQ-Shouldabundleimportitsownexportedpackages%253F
but the working anchor (at least using Firefox, English locale) is:
ApacheFelixOSGiFAQ-Shouldabundleimportitsownexportedpackages%3F
ie. single-byte, not a double-byte beginning with "25"
but I'm not sure how to fix this :(
-> richard
>
--
Cheers, Stuart