Closed (fixed)
Project:
Drigg
Version:
5.x-1.9
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
1 Aug 2008 at 08:28 UTC
Updated:
28 Aug 2008 at 16:43 UTC
Jump to comment: Most recent file
http://www.drigg-code.org/node/451
How do I turn off URL validation?
Posted July 27th, 2008 by bflora
Is there an easy way to turn off URL validation in Drigg? Every once in a while it doesn't work for perfectly valid links. I'd rather have no validation at all instead of spotty, inconsistent validation that frustrates my users.
On July 30th, 2008 manamana said:
I completely agree. I'd like to turn this off too but haven't found where it is in the code.
I posted details about my problems with this here:
http://www.drigg-code.org/node/423
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | drigg_URLValidation-289903-7.patch | 817 bytes | cedricfontaine |
Comments
Comment #1
taqwa commentedI agree. We had the same issue. Until this is fixed, you can just 'hack' the module by editing drigg.js. Just remember to note it in case you want to upgrade later.
Comment #2
cedricfontaine commentedComment #3
sikjoy commentedThis has become a non-issue since URL validation has been fixed.
Comment #4
cedricfontaine commentedI don't think so,
See the following URLs does not validate :
http://specials.rediff.com/news/2008/jul/11sld01.htm
http://news.cnet.com/8301-1001_3-10004226-92.html
So we should offer a way to deactivate URL Validation on settings.
Comment #5
mercmobily commentedHi,
I am not wasting time checking why:
http://specials.rediff.com/news/2008/jul/11sld01.htm
http://news.cnet.com/8301-1001_3-10004226-92.html
Don't work. They either offer a "special guest redirect" or they use broken HTTPD servers.
I agree with the option that needs to be there. I would NEVER turn it on though.
Merc.
Comment #6
sikjoy commentedWe should be careful adding too many options as the admin settings will become overwhelming for our users. This seems to be a very esoteric setting to me.
In my opinion, this should be fixed at the validation stage.
Best,
sicjoy
Comment #7
cedricfontaine commentedWe should manage error code when page is moved. This patch handles redirect_code returned by drupal. This solves the problem with CNET page.
For the other one (rediff.com), Httpd server seems buggy and does not handle Content-Length to 0.
Comment #8
mercmobily commentedHi Sicjoy,
I think it's sensible to turn off validation.
Fixing it at validation is an idea, but I still think it should be possible to turn off URL validation. Too many people asked for it.
Merc.
Comment #9
sikjoy commentedYou're the boss!
--sicjoy
Comment #10
cedricfontaine commentedCommitted a setting to disable URL http validate.
Comment #11
cedricfontaine commentedCommitted a setting to disable URL http validate.
Comment #12
mercmobily commentedHi cedric,
Sorry about reopening it...
I noticed this:
Now... this means that if the URL validation is off, there is a side effect here: Drigg won't do the Trackback ping autodiscovery. I can see how somebody might actually want to have validation off, and STILL do the trackback ping autodiscovery. Don't you think?
Why did you add that IF there? I am not asking because I am doubting you, but because you are smarter than me and there's probably a good reason :-D
Bye!
Merc.
Comment #13
cedricfontaine commentedSorry, you are totally right ! I updated my changes... But there might be some side effects to deactivate url validation...
Comment #14
mercmobily commentedHi,
That part of Driggi s *the* nastiest one. It's just too complicated... and there's no real way to simplify it :( There's everything that is ugly: global variables, long functions...
Are you doing the final testing for this now?
Merc.
Comment #15
cedricfontaine commentedYes it works for me...
Comment #16
mercmobily commented