Welcome to the ozgolf.net forums.
Donate Now Goal amount for the next month: 1000 AUD, Received: 0 AUD (0%)
**** Please donate to the Toowoomba Hospital Foundation as part of the Leon Treadwell Memorial Charity Day ****

Note: If you would like to avoid Paypal from getting their cut, either make a paypal payment to andyp@ozgolf.net as a "Gift", or PM AndyP for OZgolf's bank account details.

+ Reply to Thread
Results 1 to 12 of 12
  1. #1

    Default Issue with apache and "dots" in new URL structure

    AP and clikchic are going to get the shits with me soon... but I've found another problem with the new site. The fancy URL system is not escaping the full-stop ("period") character, and as such any threads with dots in the title cannot progress to page two. Exhibit A:

    http://www.ozgolf.net/showthread.php...mps-golf-balls....

    The problem is that ".../" tells apache to go up two directories, which would take the user outside of the root directory and apache (rightly) blocks that for security reasons. When you try to go to page 2, have a close look at the URL and you'll see the problem.

    If there is a setting to escape these characters, I suggest you implement it. Otherwise there might be a bit of code hacking to be done in order to fix it.
    Last edited by AndyP; 14th May 2010 at 12:53 PM.



  2. #2
    Site Owner Golf Hall of Fame Inductee
    Join Date
    Apr 28, 2004
    Location
    Brisbane
    Posts
    44,833

    Default

    There should be no code hacking on our part. Either vbulletin has a setting, should create a patch, or we revert to different URL settings.

  3. #3

    Default

    The Vbulletin guys should be able to fix this, or at least steer you in the right direction on how to fix it. Personally, I think escaping certain characters from being used in the URL is the answer. Does Vbulletin have a bug reporting tool somewhere?



  4. #4
    Site Owner Golf Hall of Fame Inductee
    Join Date
    Apr 28, 2004
    Location
    Brisbane
    Posts
    44,833

    Default

    We raise support tickets, I believe. I'm sure this issue would have been encountered by another forum though.
    I'll search the vbulletin forums, when I get the chance.

  5. #5
    Site Owner Golf Hall of Fame Inductee
    Join Date
    Apr 28, 2004
    Location
    Brisbane
    Posts
    44,833

    Default

    FYI it's only stuffed when 4 dots or more are used.

    http://www.vbulletin.com/forum/proje...?issueid=36537

  6. #6

    Default

    Those guys aren't the smartest. They're all sitting there saying "dots in the URL work fine for me" but it's not the same issue. Dots in a URI structure are fine, unless they are followed by a forward slash. That's the issue. With friendly URLs enabled, the link for "page 2" has a forward slash rather than a query string which causes apache to assume it's an instruction to navigate up one level (or more). The number of dots it takes for it to break depends how many directories your particular website has until the dots instruct apache to navigate outside of the root directory. If your site was http://somesite.com/somethread only two dots could break it if it meant that going up one directory alone would be outside of the root dir.

    On ozgolf, four dots (..../) is telling apache to navigate three directories up, which is outside of the allowed root directory for php so the server (rightly) disallows it.

    Regardless of all of that, now that it's logged it should be a trivial fix for the vbulletin devs to implement.



  7. #7
    Site Owner Golf Hall of Fame Inductee
    Join Date
    Apr 28, 2004
    Location
    Brisbane
    Posts
    44,833

    Default

    Do you mind if I post that there as well? It might help to get it resolved faster.

  8. #8

    Default

    Quote Originally Posted by AndyP View Post
    Do you mind if I post that there as well? It might help to get it resolved faster.
    It probably won't help it get resolved faster. The solution is the same, regardless of the symptom. They just need to escape all sequential dots in friendly URLs and the problem goes away (and they'll probably need a once off "upgrade" that'll trawl though existing thread titles and make the change retrospectively).

    I was just making a point that they were seemingly distracted by under which circumstances the problem occurs. That "David Grove" guy talking about mod_security is on the money. "PitchouneN64ngc" or whatever his name is seems to be lost, talking about other installed software and server-side issues; neither of these are the problem. The reason it "works" on the links he is referencing is simply because they are not using friendly URLs and therefor have a query string for page 2, not "/page-2" or whatever it is, so apache doesn't bork at the dots.

    In simpler terms, "...." are fine on their own. Throw a slash in the mix after that and it'll break.



  9. #9
    Site Owner Golf Hall of Fame Inductee
    Join Date
    Apr 28, 2004
    Location
    Brisbane
    Posts
    44,833

    Default

    Quote Originally Posted by henno View Post
    and they'll probably need a once off "upgrade" that'll trawl though existing thread titles and make the change retrospectively
    There's a Rebuild Thread Information function in the control panel that I've used before that would do that.

  10. #10
    Site Owner Golf Hall of Fame Inductee
    Join Date
    Apr 28, 2004
    Location
    Brisbane
    Posts
    44,833

    Default

    I went on a bumping spree at vbulletin.com and got the issue recognised by the support team.

    http://tracker.vbulletin.com/browse/VBIV-5456

  11. #11

    Default

    Yay. It's a bit slack that they have ignored it for so long. As you said the fix should be relatively easy.



  12. #12
    Site Owner Golf Hall of Fame Inductee
    Join Date
    Apr 28, 2004
    Location
    Brisbane
    Posts
    44,833

    Default

    I think they had the status of the issue as 'Scrubbed'.

    The issue wasn't very clear before in that bug report, but the explanation of the issue that you gave makes it clear what they have to do.

    It's not a major issue, but it annoys me.


 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. For Sale Footjoy "Greenjoy" shoes size 10. $50. Worn ... 4 times, thereabouts
    By Coogee Beach in forum Pro Shop Archive
    Replies: 1
    Last Post: 18th June 2009, 05:22 PM
  2. Replies: 52
    Last Post: 19th December 2008, 12:58 PM
  3. PERCI's "FOUR" SALE!*"ALL GORN"
    By perci in forum Pro Shop Archive
    Replies: 7
    Last Post: 1st February 2008, 06:16 AM
  4. Pete's Start of the Post Champs Ho'ing "SEASON" Sale
    By PeteyD in forum Pro Shop Archive
    Replies: 29
    Last Post: 24th January 2007, 12:22 PM
  5. FS: TM300 Miura Forged "NS" 2 iron mint S300 $100
    By Webster in forum Pro Shop Archive
    Replies: 1
    Last Post: 29th January 2006, 03:38 PM

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may edit your posts
Back to top