Timeline
Not logged in

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

11 check-ins tagged with "base-href-fix"

2022-02-15
21:35
FIXME-comments in the code did not indicate issues and are now rephrased to be mere reminders. Leaf check-in: d253ece08a user: george tags: base-href-fix
02:26
Do not override base href for wiki pages. This needs testing. check-in: 89dd34519f user: george tags: base-href-fix
00:58
When setting $webpagename pass the value of g.zPath though escape_quotes(). This is unclear how g.zPath can contain quotes but let this strange case be handled in a safe way. check-in: 288fe34ced user: george tags: base-href-fix
00:14
Move <meta charset="UTF-8"> to the begining of the default header. Supply BODY element with a class that derives from $webpagename. check-in: 6d135904ad user: george tags: base-href-fix
2022-02-14
23:06
Do not export g.zRelReqURI to TH1 interpreter because getParameter proc can retrieve PATH_INFO and QUERY_STRING. Instead export g.zPath (as $webpagename) since that is typically needed in the TH1 headers/footers of custom skins. check-in: ff4c7ed609 user: george tags: base-href-fix
22:43
Make style_set_base_href_suffix() safe for misuse: if the resulting suffix contains unescaped quotes then escape them. $base_href_suffix is intended for interpolation inside of the quoted href attribute. This check-in should address the case when a user of malfunctioning browser (which mishandles quoting) is tricked by an ad... check-in: d97752f30b user: george tags: base-href-fix
2022-02-13
17:54
Rename variable g.zUrlSuffix to g.zRelReqURI (Relative Request URI). Provide it to TH1 interpreter as $relrequri. check-in: 05e3fa76be user: george tags: base-href-fix
16:00
Fix hyperlinks on the /winfo page. These were broken when a page was rendered through /info/HASH of /winfo/HASH aliases. check-in: 5ce372ce48 user: george tags: base-href-fix
01:35
Cherry-pick from branch 'cgi-compliance' (and thus back out [5bb921dd0893a548]). Adapt the computation of g.zUrlSuffix in set_base_url() accordingly. check-in: 5c649c7e0f user: george tags: base-href-fix
2022-02-12
21:51
Add an overlooked call to style_set_base_href_suffix() in src/info.c and add a comment of why not to do so for /ext check-in: 87fba73120 user: george tags: base-href-fix
19:53
An attepmt to fix the <base href="..."> element of webpages so that the value of href attribute matches the URL being served. This should fix "#fragment" hyperlinks on all pages where these were broken (all except /doc). The values... check-in: 03b39f1d00 user: george tags: base-href-fix