Project

General

Profile

# Date Author Comment
13695 06/06/2014 10:18 PM Aaron Marcuse-Kubitza

web/username_prefix.php: user2path(): added support for padding used to visually separate 1st element of URL (x@url -> x@url)

13694 06/06/2014 08:32 PM Aaron Marcuse-Kubitza

bugfix: web/username_prefix.php: need to handle : in login (which would normally indicate a password)

13668 06/06/2014 02:38 AM Aaron Marcuse-Kubitza

web/.htaccess, username_prefix.php: username-based prefix subpaths: don't require the // at the end , to avoid clutter. IMPORTANT: in order to access the home page after visiting a URL with a username, you must now append "." to the host ("vegpath.org.") (other pages are not affected by this problem). since vegpath.org is a URL shortener, this is a worthwhile tradeoff to avoid needing the // suffixes everywhere.

13665 06/06/2014 01:14 AM Aaron Marcuse-Kubitza

web/username_prefix.php: $_SERVER["PHP_AUTH_USER"] test: factored $_SERVER["SCRIPT_URL"] out of both branches of if statement

13664 06/06/2014 12:36 AM Aaron Marcuse-Kubitza

web/username_prefix.php: don't remove @ from query string because that is no longer a special character

13627 06/04/2014 02:25 AM Aaron Marcuse-Kubitza

web/username_prefix.php: no prefix: use $_SERVER["SCRIPT_URL"] instead of rtrimming $_SERVER["REQUEST_URI"]

13626 06/04/2014 02:24 AM Aaron Marcuse-Kubitza

web/username_prefix.php: has prefix: use same expr whether or not it has a query string, because the with-query-string expr works for both cases

13625 06/04/2014 02:20 AM Aaron Marcuse-Kubitza

web/username_prefix.php: use if statements instead of `? :` for clarity

13624 06/04/2014 02:10 AM Aaron Marcuse-Kubitza

web/username_prefix.php: use $subpath instead of $_SERVER["PHP_AUTH_USER"] for clarity

13622 06/04/2014 01:59 AM Aaron Marcuse-Kubitza

web/.htaccess, username_prefix.php: username-based prefix subpaths: support dotpath in query string (which will be appended verbatim to the prefix). use "__?@__" instead of "__?__&" to signal username-based prefix, so that the query string does not end in a dangling & .

13617 06/04/2014 12:48 AM Aaron Marcuse-Kubitza

web/.htaccess, web/username_prefix.php: username-based prefix subpaths: support query strings in addition to paths

13614 06/04/2014 12:11 AM Aaron Marcuse-Kubitza

added web/username_prefix.php, for use with username-based prefix redirects