* Re: git-scm.com/book/ru -- incorrect "next" link containing a question mark
[not found] <5fe58162-33ed-48c2-a095-e98a355ed4f6@googlegroups.com>
@ 2013-03-07 8:47 ` Konstantin Khomoutov
2013-03-08 10:40 ` Jeff King
0 siblings, 1 reply; 2+ messages in thread
From: Konstantin Khomoutov @ 2013-03-07 8:47 UTC (permalink / raw)
To: git-users; +Cc: Aleksey Rozhkov, git
On Thu, 7 Mar 2013 00:01:31 -0800 (PST)
Aleksey Rozhkov <ekkertan@gmail.com> wrote:
> The page http://git-scm.com/book/ru/
> Введение-Первоначальная-настройка-Git contains incorrect link "next"
> Now this link to the page
> http://git-scm.com/book/ru/Введение-Как-получить-помощь? , but this
> page does not exist
I would say "?" is just interpreted as a request part of the URL.
Indeed, the page source contains:
<a href="/book/ru/Введение-Установка-Git">prev</a> | <a
href="/book/ru/Введение-Как-получить-помощь?">next</a>
so the question mark is really included verbatim.
> So, correct link is
> http://git-scm.com/book/ru/Введение-Как-получить-помощь%3F
Good point, thanks. I Cc'ed the main Git list and made the message
title a bit more clear.
To the Pro Git book maintainer: is it possible to somehow fix the HTML
generation script to URL-encode any special characters if they're to
appear in an URL?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git-scm.com/book/ru -- incorrect "next" link containing a question mark
2013-03-07 8:47 ` git-scm.com/book/ru -- incorrect "next" link containing a question mark Konstantin Khomoutov
@ 2013-03-08 10:40 ` Jeff King
0 siblings, 0 replies; 2+ messages in thread
From: Jeff King @ 2013-03-08 10:40 UTC (permalink / raw)
To: Konstantin Khomoutov; +Cc: git-users, Aleksey Rozhkov, git
On Thu, Mar 07, 2013 at 12:47:36PM +0400, Konstantin Khomoutov wrote:
> On Thu, 7 Mar 2013 00:01:31 -0800 (PST)
> Aleksey Rozhkov <ekkertan@gmail.com> wrote:
>
> > The page http://git-scm.com/book/ru/
> > Введение-Первоначальная-настройка-Git contains incorrect link "next"
> > Now this link to the page
> > http://git-scm.com/book/ru/Введение-Как-получить-помощь? , but this
> > page does not exist
>
> I would say "?" is just interpreted as a request part of the URL.
Yes, the problem is that the page's URL actually has the "?" in it,
but it needs to be URL-encoded in links.
> > So, correct link is
> > http://git-scm.com/book/ru/Введение-Как-получить-помощь%3F
>
> Good point, thanks. I Cc'ed the main Git list and made the message
> title a bit more clear.
Exactly. I fixed a few instances of this a while ago, but not the
prev/next pointers. This PR should fix all sites:
https://github.com/github/gitscm-next/pull/259
> To the Pro Git book maintainer: is it possible to somehow fix the HTML
> generation script to URL-encode any special characters if they're to
> appear in an URL?
I don't think Scott reads the list too closely these days. In general,
the best place to report git-scm.com problems is as an issue in the repo
linked above.
-Peff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-08 10:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <5fe58162-33ed-48c2-a095-e98a355ed4f6@googlegroups.com>
2013-03-07 8:47 ` git-scm.com/book/ru -- incorrect "next" link containing a question mark Konstantin Khomoutov
2013-03-08 10:40 ` Jeff King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).