Post Reply 
Change part of an HTTP GET request
Apr. 28, 2013, 05:58 AM
Post: #4
RE: Change part of an HTTP GET request
(Apr. 27, 2013 02:29 PM)andradrr Wrote:  sorry for the real link I posted that redirects to an adult site. I should imagine that it was not a good thing to do.

Sometimes I need the link to help. Not necessary this time. Removing it seems like the wise thing to do. Links and files are checked for problems. But even if a link is harmless now, it may not be in the future.

(Apr. 27, 2013 02:29 PM)andradrr Wrote:  1- What does the !: header command do? I could not find it in the docs.

It is not in Scott's docs. http://sidki.proxfilter.net/prox/sidki-etc/ReadMe.txt under "Importing URL Header Filters"

My header filters need to have a specific order. 'URL:' style headers break this order. '!:' preserves correct order. A '!:' header was not actually created.

Also confuses people. Wink

(Apr. 27, 2013 02:29 PM)andradrr Wrote:  2 - Why the following do not work? In which case I will use the replace box?

Code:
[HTTP headers]
In = FALSE
Out = FALSE
Key = "URL: Change position"
URL = "http://prxbr.com/members/materials/stream2.php?file=0017m/medium/0001&position=0"
Replace = "http://prxbr.com/members/materials/stream2.php?file=0017m/medium/0001&position=12345"

& is a matching character. You tried to match http://prxbr.com/members/materials/stream2.php?file=0017m/medium/0001 AND position=0
You need to escape it like \&.

? is also a matching character but since it matches any one character failing to escape it rarely breaks a match.

So, try

Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "URL: Change position"
URL = "http://prxbr.com/members/materials/stream2.php\?file=0017m/medium/0001\&position=0"
Replace = "http://prxbr.com/members/materials/stream2.php?file=0017m/medium/0001&position=12345"

HTH
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to JJoe for this post:
andradrr
Post Reply 


Messages In This Thread
Change part of an HTTP GET request - andradrr - Apr. 25, 2013, 06:26 PM
RE: Change part of an HTTP GET request - JJoe - Apr. 25, 2013, 11:07 PM
RE: Change part of an HTTP GET request - JJoe - Apr. 28, 2013 05:58 AM

Forum Jump: