Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.jid: Fix special escaping of '\' per XEP-0106 | Kim Alvefur | 2020-08-28 | 1 | -2/+6 |
| | | | | | | | | | | | | From XEP-0106 §2. Requirements: > in certain circumstances, the escaping character itself ("\") might > also be escaped Later in §4.2 Address Transformation Algorithm it is stated that the backslash would only be escaped if it forms an escape sequence. Thus '\foo' is unaltered but '\20' must be escaped into '\5c20'. Thanks to lovetox and jonas’ for brining up. | ||||
* | util.jid: Add a 'strict' flag for jidprep calls | Kim Alvefur | 2019-09-09 | 1 | -6/+6 |
| | |||||
* | util.jid: Add missing semicolon | Kim Alvefur | 2018-09-21 | 1 | -1/+1 |
| | |||||
* | vairious: Add annotation when an empty environment is set [luacheck] | Kim Alvefur | 2018-02-28 | 1 | -0/+1 |
| | |||||
* | mod_carbons: Make the conditions for ignoring MUC PMs more specific (fixes #744) | Kim Alvefur | 2016-09-23 | 1 | -1/+1 |
| | |||||
* | util.jid: Import select() into local (fixes traceback, tests on Lua 5.2) | Kim Alvefur | 2016-03-28 | 1 | -0/+1 |
| | |||||
* | util.jid+tests: Add simple helpers... node(), host() and resource() for ↵ | Matthew Wild | 2016-03-17 | 1 | -0/+15 |
| | | | | extracting specific parts of a JID | ||||
* | util.jid: Fix backout | Kim Alvefur | 2015-10-02 | 1 | -1/+1 |
| | |||||
* | Backout 7e820979fd9b (broke tests) | Kim Alvefur | 2015-10-02 | 1 | -1/+5 |
| | |||||
* | util.*: Remove use of module() function, make all module functions local and ↵ | Kim Alvefur | 2015-02-21 | 1 | -18/+24 |
| | | | | return them in a table at the end | ||||
* | util.jid: Optimize bare | Kim Alvefur | 2014-08-07 | 1 | -5/+1 |
| | |||||
* | util.jid: Use existing join function in jid.prep | Kim Alvefur | 2014-08-07 | 1 | -15/+8 |
| | |||||
* | util.jid: Return early in join on invalid jids | Kim Alvefur | 2014-08-07 | 1 | -6/+5 |
| | |||||
* | Merge 0.9->0.10 | Matthew Wild | 2013-12-16 | 1 | -1/+4 |
|\ | |||||
| * | util.jid: Strip trailing '.' when normalizing hostnames | Matthew Wild | 2013-12-16 | 1 | -1/+4 |
| | | |||||
* | | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 1 | -1/+1 |
|/ | |||||
* | util.jid: Added escape() and unescape(). | Waqas Hussain | 2011-11-01 | 1 | -0/+13 |
| | |||||
* | util.jid: Fix parsing of JIDs with no nodepart and an @ in the resourcepart ↵ | Matthew Wild | 2010-08-31 | 1 | -1/+1 |
| | | | | (thanks seth) | ||||
* | util.jid: compare() added, with some tests. | Kim Alvefur | 2010-07-16 | 1 | -0/+13 |
| | |||||
* | Update copyright headers for 2010 | Matthew Wild | 2010-03-22 | 1 | -2/+2 |
| | |||||
* | util.jid: Add join(node, host, resource) function to join the components and ↵ | Matthew Wild | 2009-11-27 | 1 | -0/+13 |
| | | | | return nil if invalid | ||||
* | Remove version number from copyright headers | Matthew Wild | 2009-07-10 | 1 | -1/+1 |
| | |||||
* | util.jid: Eliminate global method use | Waqas Hussain | 2009-05-16 | 1 | -5/+7 |
| | |||||
* | 0.3->0.4 | Matthew Wild | 2009-03-20 | 1 | -1/+1 |
| | |||||
* | Update copyright notices for 2009 | Matthew Wild | 2009-01-30 | 1 | -2/+2 |
| | |||||
* | 0.2->0.3 | Matthew Wild | 2009-01-30 | 1 | -1/+1 |
| | |||||
* | GPL->MIT! | Matthew Wild | 2009-01-30 | 1 | -13/+2 |
| | |||||
* | util/jid: string prepping functions added: prepped_split and prep | Waqas Hussain | 2009-01-15 | 1 | -0/+33 |
| | |||||
* | 0.1 -> 0.2 | Matthew Wild | 2008-12-10 | 1 | -1/+1 |
| | |||||
* | Insert copyright/license headers | Matthew Wild | 2008-12-03 | 1 | -0/+20 |
| | |||||
* | Removed useless check | Waqas Hussain | 2008-11-22 | 1 | -3/+1 |
| | |||||
* | Better names for variables | Matthew Wild | 2008-11-21 | 1 | -4/+4 |
| | |||||
* | Remove old TODO | Matthew Wild | 2008-11-21 | 1 | -1/+0 |
| | |||||
* | Remove some declarations I added while debugging | Matthew Wild | 2008-11-21 | 1 | -2/+1 |
| | |||||
* | Improve jid.split() and jid.bare() to pass new test cases with invalid JIDs | Matthew Wild | 2008-11-21 | 1 | -7/+15 |
| | |||||
* | Add jid.bare() helper function | Matthew Wild | 2008-11-20 | 1 | -0/+5 |
| | |||||
* | Minor edit, and added a TODO | Waqas Hussain | 2008-10-22 | 1 | -1/+2 |
| | |||||
* | Fixed: util/jid.lua now returns module object | Waqas Hussain | 2008-10-14 | 1 | -0/+2 |
| | |||||
* | jid.split(): Return nil when passed nil | Matthew Wild | 2008-09-30 | 1 | -0/+1 |
| | |||||
* | Fixing jid.split() for all JIDs | Matthew Wild | 2008-09-27 | 1 | -1/+4 |
| | |||||
* | Added all the files to please hg :/ | matthew | 2008-08-24 | 1 | -0/+8 |