aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2021-03-19Update the docsHEADmasterSergey Poznyakoff2
* README: Update. * bulkredirect.lua: Remove legacy code for loading the redirection table in pure lua form.
2021-03-19Add optional IDNA supportSergey Poznyakoff3
Requires https://puszcza.gnu.org.ua/projects/lua-idna * bulkredirect.lua: Add missing local qualifiers. (load_redirect_file): Try to load the idna.lua module. If loaded, use it to convert Unicode names to ASCII * t/g.tab: New test file. * t/testsuite: New tests (conditional)
2021-03-19Add missing test configSergey Poznyakoff2
2021-03-13Use bitwise flags instead of the controlling variablesSergey Poznyakoff1
2021-03-11Implement URL percent encodingSergey Poznyakoff3
* bulkredirect.lua (urlencode): New global. (bulkredirect.request): Convert hex digits in %XX fragments of the path to upper case. Make sure dt is a table before addressing its elements. (parseopt): New flag urlencode. (load_redirect_file): Initialize domopt from global settings. Percent-encode the path components if urlencode is set. Otherwise, make sure all %XX are in upper case. * t/testsuite: Test URL encoding. * README: Update.
2021-03-10Fix handling of URLs with query part.v1.0Sergey Poznyakoff5
* bulkredirect.lua (set_dst): Fix handling of URLs with query part. (load_redirect_file): Likewise. * COPYING: New file. * README: New file. * t/e.tab: New file. * t/testsuite: Add new tests.
2021-03-09Fix indentationSergey Poznyakoff1
2021-03-09Don't modify the table while iterating over it (complements 5976177e64).Sergey Poznyakoff1
2021-03-09Minor changes (mostly typos and spell fixes)Sergey Poznyakoff1
2021-03-09Add a testsuite. Minor fixes.Sergey Poznyakoff8
* bulkredirect.lua (bulkredirect.request): Ensure leading / on a redirection target, unless it starts with schema. (load_redirect_file): Override redirection options that differ from the global ones. Don't modify the table while iterating over it. * .gitignore: New file. * t/testsuite: New file. * t/haproxy.cfg.in: New file. * t/a.tab: New file. * t/b.tab: New file. * t/c.tab: New file. * t/d.tab: New file.
2021-03-07Initial commitSergey Poznyakoff1

Return to:

Send suggestions and report system problems to the System administrator.