• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Same link url bug on some sites

Status
Not open for further replies.

inept

Chevereto Member
some sites where users can submit links can provide false dupes

if i post a link like mysite.com/CbI

then someone trys to post a different link like mysite.com/Cbi

then the site classes those links as the same and the second link will be classed as a dupe and not submitted.

anyway to fix the link creation so this wont happen?
 
Hmmm nope, the URL specification is case sensitive. At least, that is what I understand about your concern.
 
Hmmm nope, the URL specification is case sensitive. At least, that is what I understand about your concern.

it is...

so there is no plan to change it?

reddit has this problem.

if you have two images like i said

mysite.com/CbI
mysite.com/Cbi

reddit will class them as one image and you will be unable to post the second image to the same subreddit.
 
Nope, you don't understand it. Let me explain it to you.

In Win32 (Windows) file systems a file named file.jpg is the same that FILE.jpg but in Unix those are different. Chevereto, as almost all the scripts out there, is made to run in Unix systems and therefore file.jpg is not the same as FILE.jpg and /CbI is not the same as /Cbi because i and I are the same letter, but different character. All Unix systems (Linux, BSD, OSX, etc) are case sensitive.

Is not a problem, is the way it is. Reddit should be case sensitive. Period.

http://www.w3.org/TR/WD-html40-970708/htmlweb.html
URLs in general are case-sensitive (with the exception of machine names). There may be URLs, or parts of URLs, where case doesn't matter, but identifying these may not be easy. Users should always consider that URLs are case-sensitive.

Another example, according to you/reddit this should be the same:
http://goo.gl/r02H6
http://goo.gl/R02h6

And is not the same, why? because they are complete different URLs and reddit will belive that they are the same... That is a reddit mistake and you should tell them that they need to be case sensitive.

By the way, to workaround this try to add a / at the end of the Chevereto URL.
 
I do understand what you are saying.

I was only trying to ask if there was a way to change how the urls are created so this does not happen.

reddit and other sites should change but im sure they wont and a user getting the same url but different case and they add it to a site which would classes them as the same getting an error saying the image has already been submitted could annoy the user enough not to use the site again.

the script must check if a link has already been used by another image which is case sensitive before creating the new link for that image, if that search was not case sensitive and found that something like mysite.com/CbI was already there so would not make a new link with the same characters but case sensitive then i think this would be more user friendly.

granted this is not really a BUG but with an image hosting site it would be beneficial to the site if the script catered for sites which were not case sensitive as sites like reddit can drive millions of views if you get onto the front page which is what an image site wants.

I dont know how to code and how much work this would be and if its 100 hours work to get this changed then it wont be worth your time, but if its 5mins work to change a couple lines of code then i think the change is worth it.

made a mistake putting it in the bug section, should really be in the suggestions section rather than bug section..
 
The alpha ID is created by encription, therefore, you can't have a different representation for the same ID. The only thimg that you can do is edit the function that does the encription and remove the uppercase letters, but that will screw all your old ids.
 
Status
Not open for further replies.
Back
Top