Closed GoogleCodeExporter closed 9 years ago
This isn't an error, it's intentional. There's a difference in nature and by
specification between a URL fred and a URL fred/ ... they represent two
different and distinct resources. Most people, most of the time, conflate the
two (and even believe that fred, fred/ and fred/index.html are equivalent, but
they're not.
This domain distinguishes between the two.
Original comment by firstros...@gmail.com
on 30 Apr 2011 at 1:59
Original comment by mcc...@gmail.com
on 30 Apr 2011 at 2:24
I didn't do a very good job describing the problem here. I think I understand
what's going on now.
The "Server Configuration" link in index.tml needs to be changed from
<p class='list2'><a href='/nub/nubs'>Server configuration</a></p>
to
<p class='list2'><a href='/nub/nubs/'>Server configuration</a></p>
with a trailing slash.
If you click on the "Server Configuration" link from the main page, it
navigates to
http://localhost:8081/nub/nubs
and it looks like the proper form comes up.
If you then click the [Add] button in the "New Nub" section,
the system will navigate you to
http://localhost:8081/nub/add
And show you information about the Nub domain.
If on the other hand you navigate to
http://localhost:8081/nub/nubs/ (note the ending /)
The same Nub information screen comes up.
then click "Add" in the "New Nub" form, you are navigated to
http://localhost:8081/nub/nubs/add
(and prompted for a password).
I'm guessing the behavior is correct
but that the link on the main page is wrong.
the Server configuration link should point to
http://localhost:8081/nub/nubs/
(note the trailing "/").
If not, clicking [add] the "New Nub" form will Redirect you to the About
domain handler instead of the Nub handler.
Original comment by tircnf
on 30 Apr 2011 at 7:40
Original issue reported on code.google.com by
tircnf
on 9 Dec 2010 at 12:10