On 2009-10-23 11:52:15 AM, Todd Zullinger wrote:
Till Maas wrote:
> Imho the link should go to the https version of the page to make it
> more likely that people use the https link, e.g. when they bookmark
> the page for later use.
This is true. It's a change that would need to be made to the
get-fedora and verify pages as well, since both use similar code in
the templates that don't enforce https. I think I might have done
this origianlly (I had the /verify patch laying around since the last
release), but it may have caused issues with templating and/or
translating?
Anyone that knows more about the templating and translating would be
awesome if they could chime in with some advice on how to do this
properly.
I guess an absolute URL can't be avoided if we want https, so
something
like this might work:
<p class="note">${Markup(_('After downloading an ISO, <a
href="https://fedoraproject.org/%s/%s/verify">verify&...
it.') % (path, lang))}</p>
At some point, we can probably wrap making links like this in a function
letting you choose between https/http and absolute vs. relative.
Thanks,
Ricky