Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squid Guard Rewrite expression

    pfSense Packages
    2
    2
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      ahmaddxb
      last edited by

      I need help creating an regular expression to remove double (//) in the url. I want to enter this expression it the rewite section of squid guard.

      Does anyone now how this can be done?

      Thanks

      1 Reply Last reply Reply Quote 0
      • D
        dvserg
        last edited by

        Try this
        Pattern 
        (http://.//.)

        replace
        \1/

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.