A query string is the part of a URL that contains data to be passed to web applications such as CGI programs.

learn more… | top users | synonyms

0
votes
1answer
18 views

Extracting the URL from the query string

Consider a url like this: http://some-site.com/something/http://www.some-other-site.com I am trying to log to the console the bold part from the query string i.e. the second http:// using the ...
1
vote
3answers
31 views

how to pass query strings in urls.py with ?key=value& in django

In the django docs it is noted that: Now in your time on the web you may have come across such beauties as “ME2/Sites/dirmod.asp?sid=&type=gen&mod=Core+Pages&gid=A6CD4967199A42D9B65B1B”....
0
votes
0answers
9 views

Python request.Response object not returning Query URL

I am working on a web scraping program. The site I am using passes state information back and forth until a the search I need to complete is done. From that point it just passes a token in a query ...
0
votes
0answers
9 views

Conditional @extends in Laravel

I am trying to do the approach outlined here - a conditional extend. I have this line of code: @extends( ((Input::get('view') == 'slim') ? layouts.master-slim' : 'layouts.master') ) And I get this ...
0
votes
0answers
16 views

Reading query-string in asp.net without specifying any page name

How to read any strings in a aspx page. example: http://foo.com/bike stand I want to read/get the strings in a specified aspx page. expected page string is bike stand expected page is getstring.aspx ...
0
votes
2answers
23 views

Send Form data and Query string in one POST request in Jmeter

I need to send POST request through jmeter. I have checked the requests workflow through browser dev. tools. In my Post request I need to send form data and one string Query. Question is next - if i ...
-1
votes
1answer
32 views

Query string with “+” symbol contains space when passed to another page

Before passing the query to another page it contains argument UwHe6N8aN0ZAHhestx+adQ== But when passed, the receiving page got UwHe6N8aN0ZAHhestx adQ== value instead. The "+" got auto ...
1
vote
2answers
65 views

How to convert JSON to query string in angular2?

I'm new to Angular2. I have a JSON object, as below: var options = { param1: "parama1", param2: "parama2", param3: "parama3" }; which should convert to query string and append to an external ...
0
votes
0answers
24 views

Elasticsearch Simple Query String Unexpected Results

Here is the Elasticsearch simple query string documentation I am referencing. And here is my query: query_string = "(Swimmin* | Swimmin~2)" query = index.query simple_query_string: { query: ...
0
votes
0answers
15 views

IIS security settings truncate querystring parameters

Our test and prod servers, have strong security settings. So, I cannot pass parameters on the querystring which contain certain characters. For that reason, I am combining all the params I'm having in ...
0
votes
0answers
14 views

the auto urldecode in apache mod_rewrite

this is my apache .htaccess setting with a search page redirect (RewriteRule ^search/(.*)$ /index.php?c=index&m=search&keywords=$1 [L,QSA]), if I set the search query in url without %, it ...
0
votes
2answers
41 views

Remove query string from PHP URL using .htaccess

My url is : https://domain.com/chapter-detail.php?board=12&class=145&subject=maths Now, I want to remove query string from the url and I want to get resultant url as : https://domain.com/...
-1
votes
1answer
18 views

set encoding false in querystring in node.js

sorry if the question seems to be meaningless, i just want to make sure is there a way or any solution for this. Any Help is appreciated request({url:url, search:qs}, function(e,r,body) { qs:{ ...
0
votes
3answers
50 views

Strange Javascript / jQuery Issue - Assigning and reading values

I've been working with jQuery for going on 2 years now, and I know this is simple, I've done it many times before, but for some reason, I can't seem to get it to work today, so I'm posting here. Here ...
0
votes
0answers
15 views

IIS “URL Rewrite” module. Capturing parenthesis in QUERY_STRING?

In IIS "URL Rewrite", I need to keep only the bolded part from below: http://oursite.org/**press/display/index.html?item=P1324**&garbage_1=this&garbage_2=that So I have a "Pattern" of: (...
1
vote
0answers
8 views

How to get Chrome and Safari to accept query strings on blobs? [duplicate]

I've been doing some testing with creating blobs and referencing them for user generated scripts because it makes debugging a lot easier, but I've recently found that while this solution has been very ...
2
votes
3answers
89 views

How to read values from the querystring with ASP.NET Core?

I'm building one RESTful API using ASP.NET Core MVC and I want to use querystring parameters to specify filtering and paging on a resource that returns a collection. In that case, I need to read the ...
2
votes
2answers
57 views

How to create keyless URL parameters in ASP.NET

I have seen this answer describing ASP.NET support for keyless (not valueless) parameters, like http://some.url?param1&param2, and confirmed them to be viewable on Request.QueryString like: var ...
0
votes
1answer
44 views

Return null and not null values

I have two tables, one for customers and another one for nationalities, not all customers table have nationality assigned to them they just Null, and the rest assigned to them their nationality, my ...
0
votes
2answers
31 views

URL Query String to select content

I have a number of pages with lessons listed like this: <div class="et_pb_module">Page Title</div> <div class="insert-after"></div> <div class="lesson-container"> <...
0
votes
1answer
30 views

Unable to receive parameter in query string when redirected to other page

Hi I am developing one application in java-script. I have two pages default.aspx and addnewitem.aspx. there is one html table in default.aspx and one button. When i click on button i want to redirect ...
0
votes
1answer
42 views

Create script tag with query string

I'm adding scripts to my index.html file dynamicly, when adding the scripts I also want to add a query string containing the file version. for this I've done this var src = 'app/core.js?201701051511'...
0
votes
1answer
33 views

Sending nested object via post request

I'm running this little node express server, which is supposed to check if the voucher is valid later and then send an answer back to the client this is my code app.post('/voucher', function (...
1
vote
1answer
32 views

Rewrite rules with query-string for multiple URLs

I would like to redirect all URLs as follows http://domain.com/?s=25 ...> http://domain.com/s=25.html For each URL I can do the folowing: RewriteCond %{QUERY_STRING} (^|&)s\=25($|&) ...
-1
votes
0answers
57 views

scrapy: scraping query string parameters from URL generated by javascript

I would like to use Scrapy to capture information from a request generated by a javascript present on the page I am initially crawling. This javascript generates a hit with a long query string ...
0
votes
6answers
44 views

How can I stringify output from a for loop?

I have the following for loop and I would like the output of the loop to be stringified into a query string as shown in the desired output below. I'm using the qs npm package for stringifying URLs. ...
-3
votes
1answer
44 views

Url rewriting in php with multiple query string variables using .htacces

I have dynamic pages in php like: http://www.example.com/page.php?tokenid=1&tokenname=About Us I want to remove this part: .php?tokenid=1&tokenname=About Us page extension with query ...
0
votes
1answer
30 views

wp paginate_links and query vars not working Wordpress

I am trying to make custom query integrated with a plugin to sort posts. Here's the code. index.php $view =$_GET["sort"]; if($view == "views"){ if ( have_posts() ) : $paged = ( get_query_var('...
3
votes
1answer
33 views

Only use $in operator if a certain condition is met - Mongoose

Okay so this is probably just me being stupid and not having looked through the MongoDB docs properly but anyway here's the deal: I have a RESTful API route which looks like this: GET /api/users?ids[...
1
vote
1answer
49 views

How do I send a javascript object in a querystring?

I want to send this javascript object in a query string so that I can use it as an object when received by the server. Currently, I am using an xhr request: const xhr = new XMLHttpRequest(); ...
-1
votes
0answers
22 views

PHP Decode Query string with \u003d [duplicate]

There is an application that is making a POST call to my app and it is encoding the body like such: param1\u003dPARAM1\u0026param2\u003dPARAM2\u0026param3\u003dPARAM3 I need to decode this in such a ...
0
votes
0answers
11 views

how to setparameter correctly in EJB using javax.persistence.Query

I received an error from this code: Query query = em.createNamedQuery("select a from Account a where (a.accname like '%:accname%') or (a.code like '%:accname%')"); query.setParameter("accname", "a"); ...
0
votes
1answer
21 views

Elasticsearch Query String with shingle filter not working

I have problem with shingle filter. My setting shingle below: "filter_shingle": { "type": "shingle", "min_shingle_size": 2, "max_shingle_size": 3, "output_unigrams": ...
0
votes
0answers
14 views

URL Rewrite redirect with query string with single parameter and rewriteMap

I have this configuration in my web.config for a permanent redirect of Url with a single parameter "idnotizia" <rule name="SignupRedirect18" stopProcessing="true"> <match url="^notizie\.asp$"...
0
votes
0answers
37 views

How to remove query string variable from url using htaccess

my website has dynamic pages such as http://www.example.com/index.php?layout=category&category_name=shoes&subcategory_name=sport I want to remove or hide query string variable from url and ...
3
votes
1answer
30 views

Check if Querystrings are not visible on url

I have this code to check if query strings are present and echo contents based on the values. The code is working if: www.mywebsite.com/?position=&category=&country= www.mywebsite.com/?...
0
votes
0answers
13 views

IIS url rewrite to query string

My incoming example (non-existing) url is http://example.com/image-134-small.jpg. When this request reaches IIS, I want it to be internally rewritten to http://example.com/image-134.jpg?maxwidth=160 ...
0
votes
1answer
22 views

Use ? in URL rewriting

htaccess which is working fine.. RewriteEngine On RewriteRule ^(css|images|js|jquery|highslide) - [L] RewriteRule ^products/(.*)/(.*)/([0-9])$ products.php?ac=viewProduct&id=$3&cid=0 [L] ...
0
votes
1answer
47 views

How to redirect a URL with a querystring

I've moved a website to a new domain and I've used RewriteRule to redirect a number of my URLs. I'm stuck trying to redirect URLs with query strings in them? RewriteRule /news/archive.php?cat=...
0
votes
0answers
7 views

query string : several delimiters in a row

I am trying to generate URL in a framework where the tags are not consistent. http://www.example.com?param1=foo&param2=bar&param3=baz In some cases, my param1 will be missing, and I am using ...
0
votes
0answers
119 views

Why a query string parameter change the value of a propertie of the same name?

I got this scenario in a C# MVC application: I have a model named MembershipSetting which have a property named OnBehalfOfMembershipId. The value of OnBehalfOfMembershipId is knowned first by a query ...
0
votes
0answers
34 views

Mask query string before storing in IIS Advanced logs

I have a [WebMethod] in an asmx service (C# code) that accepts a query string with some sensitive information. Each request now is getting logged on the IIS Advanced Logs. Is there a way to mask this ...
0
votes
1answer
19 views

Remove query string pairs until a result is returned

Lets say I have a search form on my site which generates a query string to filter results, eg. mysite/search?field1=value1&field2=value2&field3=value3 The user enters the following into the ...
0
votes
1answer
19 views

clearing all query strings / url parameters php but using values

From what I understand it is possible to get query strings and clean up the url afterwards. I basically want to send a user a link containing many types of data to build up a special page for them ...
0
votes
0answers
40 views

How to pass value in asp.net using query string in angularjs

I want to add a query string to angularJs 1 app for asp.net web page when I add this URL to the page: http://localhost:54764/AdsDetails/406 My asp.net application doesn't read the query-string and ...
0
votes
0answers
27 views

.htaccess rewrite rule language subdirectory

I have been looking at Stack Overflow for this question for some days now, but I can't find the right situation. What I would like is to redirect for example: http://url.com/en/Home to http://url....
0
votes
0answers
15 views

get and post values in node js [duplicate]

Hi i am confused by some ways to get the values of get and post data in node js req.params req.body req.query What is the difference b/w all these three. I have read the experss-docs ...
0
votes
1answer
20 views

Angular state navigation - add querystring to URL

My application when starts can automatically navigate to a specified state like this: localhost://start.html#/case When a user navigates to this state some parameters are prepared internally to get ...
0
votes
1answer
22 views

Inserting a script in a query string

I have created a script as follows: <script language="JavaScript"> function mdy(todaysdate) { month = todaysdate.getMonth() + 1 year = todaysdate.getYear() + 1900 ...
0
votes
0answers
28 views

How do I convert array in url querystring to a JavaScript Object [duplicate]

I have a url querystring like this: PageSize=10&PageNumber=1&Education=master,bachelor&FromAge=20&ToAge=40&Freetext=Henry How can I convert it into a Javascript object like this?...