diff options
author | ArthurHoaro <arthur@hoa.ro> | 2015-12-22 10:24:31 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2015-12-22 10:59:41 +0100 |
commit | 49e62f22ad750d4d60936ec8437caee91809b179 (patch) | |
tree | 238d7d9996ce165f71f6a718ccd5a79457962388 /application | |
parent | 79851b489087f8a3027ecd805255cd13ee6fcf63 (diff) | |
download | Shaarli-49e62f22ad750d4d60936ec8437caee91809b179.tar.gz Shaarli-49e62f22ad750d4d60936ec8437caee91809b179.tar.zst Shaarli-49e62f22ad750d4d60936ec8437caee91809b179.zip |
QRCode plugin: use url instead of real_url
Fixes #414 and avoid usage of redirector in QRCode.
Also fixed a bug with URL encoding.
Diffstat (limited to 'application')
-rw-r--r-- | application/LinkDB.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/application/LinkDB.php b/application/LinkDB.php index f771ac8b..51fa926d 100644 --- a/application/LinkDB.php +++ b/application/LinkDB.php | |||
@@ -17,8 +17,10 @@ | |||
17 | * - private: Is this link private? 0=no, other value=yes | 17 | * - private: Is this link private? 0=no, other value=yes |
18 | * - tags: tags attached to this entry (separated by spaces) | 18 | * - tags: tags attached to this entry (separated by spaces) |
19 | * - title Title of the link | 19 | * - title Title of the link |
20 | * - url URL of the link. Can be absolute or relative. | 20 | * - url URL of the link. Used for displayable links (no redirector, relative, etc.). |
21 | * Can be absolute or relative. | ||
21 | * Relative URLs are permalinks (e.g.'?m-ukcw') | 22 | * Relative URLs are permalinks (e.g.'?m-ukcw') |
23 | * - real_url Absolute processed URL. | ||
22 | * | 24 | * |
23 | * Implements 3 interfaces: | 25 | * Implements 3 interfaces: |
24 | * - ArrayAccess: behaves like an associative array; | 26 | * - ArrayAccess: behaves like an associative array; |