| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Instead of trusting the php session, it uses a cookie. The php session
sooner or later is distroyed if not used. It depends upon the server
settings. Using a cookie ensures that one really stays signed in.
Dev notes: I wanted to avoid merge conflicts, stay with the main
developper standards and keep the "index.php" in one file. That's why
the code may not be that nice. My own dev level my also explain.
|
| |
|
|\
| |
| | |
smallHash: simplified and improved performance
|
| |
| |
| | |
Unchanged behaviour
|
|/
|
|
| |
Closes issue https://github.com/sebsauvage/Shaarli/issues/134
|
|
|
|
| |
Focus was not properly given to description field when it's empty.
|
| |
|
|
|
|
|
|
|
|
| |
jQuery has been removed from all pages, except those who really require
it (like autocomplete in link edition).
Immediate gain: All pages weight 286 kb LESS ! \o/
Highlighting in search results has also been temporarly removed (and
will be re-implemented).
|
|
|
|
|
|
|
|
|
|
| |
* QR-Code generation now uses a client-side javascript library instead of an external service. This is better for user privacy.
* Library used is http://neocotic.com/qr.js/ (11 kb).
* jQuery is no longer used to display QR-Code (this is a first step in removing jQuery entirely).
* This library is loaded *only* if the QR-Code icon is clicked.
* If javascript is disabled, it will fallback to the external service.
* External service was changed from "invx.com" to "qrfree.kaywa.com" because invx has become bloated.
By loading the javascript library *only* if the icon is clicked, it will prevent the 11 kb lib to be loaded in every page.
|
| |
|
| |
|
|
|
| |
Default example private link changed from pastebin to ZeroBin.
|
| |
|
|\
| |
| |
| |
| | |
LionelMartin/3385af123f6b4dfc59aeaa69f180381307b64368
Added a json_encode implementation for PHP < 5.2 (free.fr)
|
| | |
|
| |
| |
| | |
Manually merged pull request https://github.com/sebsauvage/Shaarli/pull/99
|
|\ \
| | |
| | | |
RSS/Atom: add a parameter to print only the N last links
|
| |/ |
|
|\ \
| | |
| | | |
Corrected error message for lack of write access in ./data
|
| | | |
|
|\ \ \
| | | |
| | | | |
Smaller logo file
|
| |/ /
| | |
| | |
| | | |
Better PNG compression of logo file, as produced by Page Speed.
|
|\ \ \
| | | |
| | | | |
Added the possibility to put a description in the bookmarklet's URL
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
Import: add compatibility for milliseconds in NETSCAPE-Bookmark
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
NETSCAPE-Bookmark sometimes contains dates as milliseconds instead of
seconds.
For instance, this is the case of the files gererated for Google +1s by
Google Takeout.
This patch make these files compatible.
|
|\ \ \
| |/ /
|/| | |
Ajout d’un UA lors de la récupération d’une page externe
|
|/ /
| |
| |
| | |
site veulent un UA)
|
| |
| |
| |
| | |
Thanks to a patch from Le Hollandais Volant.
|
|/
|
|
|
|
|
|
| |
SERVER_NAME changed to HTTP_HOST because SERVER_NAME can cause problems
on some misconfigured hosts. HTTP_HOST is usually more reliable with
those servers. (cf.
http://stackoverflow.com/questions/2297403/http-host-vs-server-name).
This should cause less problem on most hosts.
|
|\
| |
| | |
Highlight search results
|
| | |
|
| |
| |
| |
| | |
Uses http://bartaz.github.com/sandbox.js/jquery.highlight.html
|
|\ \
| | |
| | | |
Timezone par défaut
|
| | | |
|
| |/
| |
| | |
timezone.
|
|\ \
| |/
|/| |
Fix picwall bugs
|
| | |
|
|/ |
|
| |
|
|\
| |
| | |
Correction for login problem with webkit browsers on sub-domain hosted Shaarli.
|
|/ |
|
|
|
|
| |
(Because on some hosts is_writable() is not reliable.)
|
|
|
|
| |
Because some user forget to check this at installation.
|
| |
|
|\
| |
| | |
Merged "Private by default" feature (when creating a new link).
|
|/
|
|
| |
private by default.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Title : Shaarli Vulnerabilities
Author : @erwan_lr | @_WPScan_
Vendor : http://sebsauvage.net/wiki/doku.php?id=php:shaarli
Download : https://github.com/sebsauvage/Shaarli/archive/master.zip |
http://sebsauvage.net/files/shaarli_0.0.40beta.zip
Affected versions : master-705F835, 0.0.40-beta (versions below may also
be vulnerable)
Vulnerabilities : Persistent XSS & Unvalidated Redirects and Forwards
Persistent XSS :
- During the instalation or configuration modification, the title field
is vulnerable. e.g <script>alert(1)</script>
Quotes can not be used because of var_export(), but String.fromCharCode
works
- The url field of a link is vulnerable :
When there is no redirector : javascript:alert(1)
Then, the code is triggered when a user click the url of a link
Or with a classic XSS : "><script>alert(1)</script>
Unvalidated Redirects and Forwards :
A request with the param linksperpage or privateonly can be used to
redirect a user to an arbitrary referer
e.g
GET /Audit/Shaarli/master-705f835/?linksperpage=10 HTTP/1.1
Host: 127.0.0.1
Referer: https://duckduckgo.com
History :
March 2, 2013
- Vendor contacted
|
|
|
|
| |
This corrects issue https://github.com/sebsauvage/Shaarli/issues/10
|