| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 18493|Reply: 19
Collapse the left

UlinkSeo

[Copy link]

 Palestine

Post time: 2013-07-16 12:22
| Show all posts |Read mode
Addon
Title: UlinkSeo
Version: 1.1
Author: I~DiscuzX_Serie
Author URL: www.2init.net
Description: Thread links will be the title of Thread
Discuz! X Version: X3 X2.5 X2 
Language(s): Any
Create Date: -
Last Update: -
Screenshot: -
تم تعديله بواسطة  khalid في  2013-7-20 08:27




Download






create .htaccess

and add
  1. <Files ~ "^\.(htaccess|htpasswd)[        DISCUZ_CODE_0        ]quot;>
  2. deny from all
  3. </Files>

  4. RewriteEngine On
  5. RewriteBase /discuz

  6. RewriteCond %{QUERY_STRING} ^(.*)$
  7. RewriteRule ^forum-(.*)-(\w+)-([0-9]+)\.html$ forum.php?mod=forumdisplay&fid=$2&page=$3&%1
  8. RewriteCond %{QUERY_STRING} ^(.*)$
  9. RewriteRule ^post-(.*)-([0-9]+)-([0-9]+)-([0-9]+)\.html$ forum.php?mod=viewthread&tid=$2&extra=page\%3D$4&page=$3&%1
Copy the Code
if you use root



change RewriteBase /discuz



and remove discuz





if you use other name change it

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2013-07-16 13:30
| Show all posts
Check please for the next titles:
'العربية'
'Español'
'Français'
'한국어'
'zdążyłeś'
'Русский'
'ภาษาไทย'
'Türkçe'
'Tiếng Việt'

What the resulting URL will created?



 Palestine

 Author| Post time: 2013-07-16 13:41 From the mobile phone
| Show all posts
Yes

Tested in Arabia lang

 Russia

Post time: 2013-07-16 13:57
| Show all posts
Show URLs for the above titles!

 Palestine

 Author| Post time: 2013-07-16 14:18
| Show all posts

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

Comments

confirmed  Post time 2013-07-16 14:23

Rate

Number of participants 1Rating +1 Collapse Reason
mj1919 + 1 Usefull

View Rating Log

 Russia

Post time: 2013-07-16 15:20
| Show all posts
I see...
Resulting URL is not encoded...

But what about vulnerabilities?
Is there any URL verification/cleaning/filtering inside the plugin code?

 Palestine

 Author| Post time: 2013-07-16 19:01
| Show all posts
vot 2013-7-16 14:20
I see...
Resulting URL is not encoded...

I can't understand what you want !

 Russia

Post time: 2013-07-16 19:25
| Show all posts
Web standards requires all the URLs to hhtp-servers must be encoded with the "URL Encode" algorith.
In other words there must be only English/digits/special_chars in the url.
But for the above plugin we see all the URLs are NON encoded.
But in most cases this is not critical, because of a browser encodes URL by itself.

But I afraid about such type URL can contain a special prepared hacking code,
and it can give an access to your server for a hackers...

 Palestine

 Author| Post time: 2013-07-16 19:33
| Show all posts
vot 2013-7-16 18:25
Web standards requires all the URLs to hhtp-servers must be encoded with the "URL Encode" algorith.
...

I see this in wordpress !!

how it do ?

 Russia

Post time: 2013-07-16 19:40
| Show all posts
We just need to check/test the code...
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-22 00:03 GMT+3 , Processed in 0.089532 sec., 10 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list