deconst / presenter

Consumes the content store API to render HTML to humans
4 stars 6 forks source link

Redirect rules with # don't work #140

Open ktbartholomew opened 8 years ago

ktbartholomew commented 8 years ago

Relocated from https://github.com/rackerlabs/nexus-control/issues/491 /cc @meker12

@ktbartholomew Just a note regarding issue #489.

I had updated the Monitoring redirect rule to go to the Monitoring doc menu on the docs landing page. When I go to this link that's where it take s me: https://developer.rackspace.com/docs/#rackspace-monitoring,

Also, I should have added the # redirect rule under the rackspace-monitoring developer guide one. Sorry that I broke that redirect.

However, when the rule is implemented, the redirect doesn't come out properly. It replaces the # with %23

I copied this from the SDK rule, which also uses the # tag. That one doesn't work either.

https://developer.rackspace.com/docs/sdks/ takes you to https://developer.rackspace.com/docs/%23docs-managed-vmware-services/

Interestingly, in Firefox, you just get a 404. It doesn't add the %23 to the URL. In Chrome, you get a 404, but you see the %23 in the URL.

Is there a way to create a rule with an anchor tag? Maybe you need to escape it or something.