Fossil: Check-in [0f9b648f2b]

Fossil SCM

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix the redundant "udc" query parameter in the timeline.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:0f9b648f2b7dd0bb1c9596aae2c47ef2f28124476d59fe3fcd75fe62a4f98802
User & Date: drh 2019-05-17 14:47:28
Context
2019-05-17
17:08
Change redirect handling so that (1) status codes 307 and 308 are recognized as redirects in addition to 301 and 302 and (2) the remote URL is only changed if it encounters a permanent redirect (301 or 308). check-in: f2ca44916c user: drh tags: trunk
14:47
Fix the redundant "udc" query parameter in the timeline. check-in: 0f9b648f2b user: drh tags: trunk
14:04
Fix a warning (a real one) on win32: Win32 printf doesn't know about "%lld". check-in: f6524ae5cc user: jan.nijtmans tags: trunk
Changes

Changes to src/style.c.

   626    626     */
   627    627     cgi_destination(CGI_HEADER);
   628    628     if( nSubmenu+nSubmenuCtrl>0 ){
   629    629       int i;
   630    630       if( nSubmenuCtrl ){
   631    631         @ <form id='f01' method='GET' action='%R/%s(g.zPath)'>
   632    632         @ <input type='hidden' name='udc' value='1'>
          633  +      cgi_tag_query_parameter("udc");
   633    634       }
   634    635       @ <div class="submenu">
   635    636       if( nSubmenu>0 ){
   636    637         qsort(aSubmenu, nSubmenu, sizeof(aSubmenu[0]), submenuCompare);
   637    638         for(i=0; i<nSubmenu; i++){
   638    639           struct Submenu *p = &aSubmenu[i];
   639    640           if( p->zLink==0 ){