Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
JabberService
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
La Quadrature du Net
JabberService
Commits
d2c34e1d
Commit
d2c34e1d
authored
Aug 22, 2014
by
Benjamin Sonntag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing lowerstring for login
parent
5ee349e5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
my/docreate.php
my/docreate.php
+1
-0
my/dolost.php
my/dolost.php
+1
-0
my/footer.php
my/footer.php
+1
-1
No files found.
my/docreate.php
View file @
d2c34e1d
...
...
@@ -35,6 +35,7 @@ if ($found==6 && $_POST["url"]=="") {
if
(
!
csrf_check
(
$_POST
[
"csrf"
]))
{
$error
[]
=
_
(
"The captcha is incorrect, please try again (2)"
);
}
$_POST
[
"login"
]
=
mb_strtolower
(
$_POST
[
"login"
],
'UTF-8'
);
$login
=
fixlogin
(
$_POST
[
"login"
]);
if
(
$login
!=
$_POST
[
"login"
]
||
strlen
(
$login
)
<
3
||
strlen
(
$login
)
>
80
)
{
$error
[]
=
_
(
"The login must be between 3 and 80 characters long, and must not contains special characters (unicode and accents authorized though)"
);
...
...
my/dolost.php
View file @
d2c34e1d
...
...
@@ -35,6 +35,7 @@ if ($found==5 && $_POST["url"]=="") {
if
(
!
csrf_check
(
$_POST
[
"csrf"
]))
{
$error
[]
=
_
(
"The captcha is incorrect, please try again (2)"
);
}
$_POST
[
"login"
]
=
mb_strtolower
(
$_POST
[
"login"
],
'UTF-8'
);
$login
=
fixlogin
(
$_POST
[
"login"
]);
if
(
$login
!=
$_POST
[
"login"
]
||
strlen
(
$login
)
<
3
||
strlen
(
$login
)
>
80
)
{
$error
[]
=
_
(
"The login must be between 3 and 80 characters long, and must not contains special characters (unicode and accents authorized though)"
);
...
...
my/footer.php
View file @
d2c34e1d
</article>
<!-- .et_pb_post -->
</div>
<!-- #left-area -->
<div
id=
"sidebar"
>
<div
id=
"search-2"
class=
"et_pb_widget widget_search"
><form
role=
"search"
method=
"get"
id=
"searchform"
class=
"searchform"
action=
"https://jabber.lqdn.fr/"
>
<div>
<label
class=
"screen-reader-text"
for=
"s"
>
Search for:
</label>
<input
type=
"text"
value=
""
name=
"s"
id=
"s"
/>
<input
type=
"submit"
id=
"searchsubmit"
value=
"Search"
/>
</div>
</form></div>
<!-- end .et_pb_widget -->
<div
id=
"recent-posts-2"
class=
"et_pb_widget widget_recent_entries"
>
<h4
class=
"widgettitle"
>
Recent Posts
</h4>
<ul>
<li>
<a
href=
"https://jabber.lqdn.fr/?p=37"
>
Bienvenue sur jabber.lqdn.fr
</a>
<span
class=
"post-date"
>
2014/08/20
</span>
</li>
</ul>
</div>
<!-- end .et_pb_widget -->
<div
id=
"archives-2"
class=
"et_pb_widget widget_archive"
><h4
class=
"widgettitle"
>
Archives
</h4>
<select
name=
"archive-dropdown"
onchange=
'document.location.href=this.options[this.selectedIndex].value;'
>
<option
value=
""
>
Select Month
</option>
<option
value=
'https://jabber.lqdn.fr/?m=201408'
>
August 2014
</option>
</select></div>
<!-- end .et_pb_widget -->
<div
id=
"categories-2"
class=
"et_pb_widget widget_categories"
><h4
class=
"widgettitle"
>
Categories
</h4><select
name=
'cat'
id=
'cat'
class=
'postform'
>
<option
value=
'-1'
>
Select Category
</option>
<option
class=
"level-0"
value=
"4"
>
fr
(1)
</option></select><script
type=
'text/javascript'
>
/* <![CDATA[ */
var
dropdown
=
document
.
getElementById
(
"
cat
"
);
function
onCatChange
()
{
if
(
dropdown
.
options
[
dropdown
.
selectedIndex
].
value
>
0
)
{
location
.
href
=
"
https://jabber.lqdn.fr/?cat=
"
+
dropdown
.
options
[
dropdown
.
selectedIndex
].
value
;
}
}
dropdown
.
onchange
=
onCatChange
;
/* ]]> */
</script></div>
<!-- end .et_pb_widget -->
</div>
<!-- end #sidebar -->
</div>
<!-- #content-area -->
</div>
<!-- .container -->
</div>
<!-- #main-content -->
<footer
id=
"main-footer"
>
<div
id=
"footer-bottom"
>
<div
class=
"container clearfix"
>
<p
id=
"footer-info"
></p>
</div>
<!-- .container -->
</div>
</footer>
<!-- #main-footer -->
</div>
<!-- #et-main-area -->
</div>
<!-- #page-container -->
<script
type=
'text/javascript'
src=
'https://jabber.lqdn.fr/wp-includes/js/comment-reply.min.js?ver=3.9.2'
></script><script
type=
'text/javascript'
src=
'https://jabber.lqdn.fr/wp-content/themes/Divi/js/jquery.fitvids.js?ver=2.1.2'
></script><script
type=
'text/javascript'
src=
'https://jabber.lqdn.fr/wp-content/themes/Divi/js/waypoints.min.js?ver=2.1.2'
></script><script
type=
'text/javascript'
src=
'https://jabber.lqdn.fr/wp-content/themes/Divi/js/jquery.magnific-popup.js?ver=2.1.2'
></script><script
type=
'text/javascript'
>
/* <![CDATA[ */
var
et_custom
=
{
"
ajaxurl
"
:
"
https:
\
/
\
/jabber.lqdn.fr
\
/wp-admin
\
/admin-ajax.php
"
,
"
images_uri
"
:
"
https:
\
/
\
/jabber.lqdn.fr
\
/wp-content
\
/themes
\
/Divi
\
/images
"
,
"
et_load_nonce
"
:
"
2e73a55794
"
,
"
subscription_failed
"
:
"
Please, check the fields below to make sure you entered the correct information.
"
,
"
fill
"
:
"
Fill
"
,
"
field
"
:
"
field
"
,
"
invalid
"
:
"
Invalid email
"
,
"
captcha
"
:
"
Captcha
"
,
"
prev
"
:
"
Prev
"
,
"
next
"
:
"
Next
"
};
/* ]]> */
</script><script
type=
'text/javascript'
src=
'https://jabber.lqdn.fr/wp-content/themes/Divi/js/custom.js?ver=2.1.2'
></script></body>
</html>
\ No newline at end of file
</article>
<!-- .et_pb_post -->
</div>
<!-- #left-area -->
<div
id=
"sidebar"
>
<div
id=
"search-2"
class=
"et_pb_widget widget_search"
><form
role=
"search"
method=
"get"
id=
"searchform"
class=
"searchform"
action=
"https://jabber.lqdn.fr/"
>
<div>
<label
class=
"screen-reader-text"
for=
"s"
>
Search for:
</label>
<input
type=
"text"
value=
""
name=
"s"
id=
"s"
/>
<input
type=
"submit"
id=
"searchsubmit"
value=
"Search"
/>
</div>
</form></div>
<!-- end .et_pb_widget -->
<div
id=
"recent-posts-2"
class=
"et_pb_widget widget_recent_entries"
>
<h4
class=
"widgettitle"
>
Recent Posts
</h4>
<ul>
<li>
<a
href=
"https://jabber.lqdn.fr/?p=37"
>
Bienvenue sur / Welcome on jabber.lqdn.fr
</a>
<span
class=
"post-date"
>
2014/08/20
</span>
</li>
</ul>
</div>
<!-- end .et_pb_widget -->
<div
id=
"archives-2"
class=
"et_pb_widget widget_archive"
><h4
class=
"widgettitle"
>
Archives
</h4>
<select
name=
"archive-dropdown"
onchange=
'document.location.href=this.options[this.selectedIndex].value;'
>
<option
value=
""
>
Select Month
</option>
<option
value=
'https://jabber.lqdn.fr/?m=201408'
>
August 2014
</option>
</select></div>
<!-- end .et_pb_widget -->
<div
id=
"categories-2"
class=
"et_pb_widget widget_categories"
><h4
class=
"widgettitle"
>
Categories
</h4><select
name=
'cat'
id=
'cat'
class=
'postform'
>
<option
value=
'-1'
>
Select Category
</option>
<option
class=
"level-0"
value=
"4"
>
fr
(1)
</option></select><script
type=
'text/javascript'
>
/* <![CDATA[ */
var
dropdown
=
document
.
getElementById
(
"
cat
"
);
function
onCatChange
()
{
if
(
dropdown
.
options
[
dropdown
.
selectedIndex
].
value
>
0
)
{
location
.
href
=
"
https://jabber.lqdn.fr/?cat=
"
+
dropdown
.
options
[
dropdown
.
selectedIndex
].
value
;
}
}
dropdown
.
onchange
=
onCatChange
;
/* ]]> */
</script></div>
<!-- end .et_pb_widget -->
</div>
<!-- end #sidebar -->
</div>
<!-- #content-area -->
</div>
<!-- .container -->
</div>
<!-- #main-content -->
<footer
id=
"main-footer"
>
<div
id=
"footer-bottom"
>
<div
class=
"container clearfix"
>
<p
id=
"footer-info"
></p>
</div>
<!-- .container -->
</div>
</footer>
<!-- #main-footer -->
</div>
<!-- #et-main-area -->
</div>
<!-- #page-container -->
<script
type=
'text/javascript'
src=
'https://jabber.lqdn.fr/wp-includes/js/comment-reply.min.js?ver=3.9.2'
></script><script
type=
'text/javascript'
src=
'https://jabber.lqdn.fr/wp-content/themes/Divi/js/jquery.fitvids.js?ver=2.1.2'
></script><script
type=
'text/javascript'
src=
'https://jabber.lqdn.fr/wp-content/themes/Divi/js/waypoints.min.js?ver=2.1.2'
></script><script
type=
'text/javascript'
src=
'https://jabber.lqdn.fr/wp-content/themes/Divi/js/jquery.magnific-popup.js?ver=2.1.2'
></script><script
type=
'text/javascript'
>
/* <![CDATA[ */
var
et_custom
=
{
"
ajaxurl
"
:
"
https:
\
/
\
/jabber.lqdn.fr
\
/wp-admin
\
/admin-ajax.php
"
,
"
images_uri
"
:
"
https:
\
/
\
/jabber.lqdn.fr
\
/wp-content
\
/themes
\
/Divi
\
/images
"
,
"
et_load_nonce
"
:
"
2e73a55794
"
,
"
subscription_failed
"
:
"
Please, check the fields below to make sure you entered the correct information.
"
,
"
fill
"
:
"
Fill
"
,
"
field
"
:
"
field
"
,
"
invalid
"
:
"
Invalid email
"
,
"
captcha
"
:
"
Captcha
"
,
"
prev
"
:
"
Prev
"
,
"
next
"
:
"
Next
"
};
/* ]]> */
</script><script
type=
'text/javascript'
src=
'https://jabber.lqdn.fr/wp-content/themes/Divi/js/custom.js?ver=2.1.2'
></script></body>
</html>
\ No newline at end of file
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment