A query string is the part of a URL that contains data to be passed to web applications such as CGI programs.
1
vote
1answer
23 views
Query String Redirect
Looking to create a short url tool and want to be able to go to;
www.website.co.uk/j2ExICY
and actually load
www.website.co.yk/?u=j2ExICY however keeping the url as www.website.co.uk/j2ExICY the ...
0
votes
0answers
16 views
how can i block symbols like <>;()" in URL
how can i block symbols like <>;()" in URL but after DNS(www.xyz.com).
I am using httpd apache file and two location blocks. One for Root(/) and other for Location /login.
i tried ---
Location />
...
1
vote
1answer
15 views
PHP cant see query string from RewriteRule
my .htaccess looks like
RewriteEngine On
RewriteRule ^api/([^/]*)$ /api.php?method=$1 [L,QSA]
my api.php looks like
class API {
public function __construct()
{
...
1
vote
1answer
40 views
Angularjs - “Arrays” in the url and ngModel
I'm having some troubles with arrays in the ngModel.
Imagine I have a movie databse and I want to search a movie where appears some actors:
$scope.search = {
actors: [1, 2, 3] // actors' ID
};
...
0
votes
0answers
34 views
How to parse queryString the same way Spring MVC would parse them?
I need to parse the queryString part of a URL. The answer to this other question makes a very important point about
The problem with query part of an url is that there is no clear specification ...
1
vote
3answers
40 views
error stating Object reference not set to an instance of an object
I am using the below code in product.aspx.cs page and when i am running the code i am finding the error stating.
Object reference not set to an instance of an object.
Troubleshooting tip.. use ...
0
votes
1answer
5 views
Filter at event viewer by data
I want to get event entries by their description (data).
I know how to get the event entry with a certain description, however I want to get an entry whith a description which contains a string (not ...
3
votes
1answer
31 views
Is question mark in URL part of query string?
TL;TR: Is (first) question mark in URL part of query or is is just a separator followed by query?
The RFC 1738, section 3.3, suggests that the "?" (question mark) is not part of the query string, but ...
-1
votes
1answer
28 views
Rails 4 - What is the difference between request.original_fullpath and request.fullpath
I need to store user search queries in our db for tracking search history. I know that request.original_url will give me the query string as an absolute url.
...
0
votes
0answers
36 views
GET parameter not present in request parameter map
I have the following URL:
/login.xhtml?tipo=ind
I am trying to access the GET request parameter using the following code:
Map<String, String> parameterMap = (Map<String, String>) ...
0
votes
2answers
21 views
Getting INVALID_REQUEST from Google Maps API for valid addresses
I'm doing some tests with Google Maps API and for some reason there is valid addresses that return status INVALID_REQUEST for no apparent reason. Here is my php code
$request_url = ...
0
votes
1answer
27 views
Breaking of query-string and retrieving value
I am using similar code as following in my httpd-apache 2.2 file
<Location /local/*/*/*>
setHandler dispatcher-handler
RewriteEngine On
RewriteCond %{REQUEST_URI} ^.*.*.* [NC]
RewriteRule ...
0
votes
0answers
26 views
query string returning controller name and method name in CI in Nginx server
I recently moved from Apache server to nginx server. The code is developed in CI. But the $_SERVER['query_string'] variable and $_GET variables showing controller name and method name as well. For eg. ...
1
vote
1answer
32 views
How to destroy query string after redirecting from one page to another page on page load event?
I am having 2 pages name as :
Abc.aspx
pqr.aspx
Now on page load of Abc.aspx i am doing this:
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
...
0
votes
0answers
22 views
Robots.txt Query String - Couldn't Disallow
I have url
http://www.website.com/shopping/books/?b=9
I have disallow /?b=9 from robots.txt
as
User-agent: *
Disallow: /?b=9
But when i test this from Google Webmaster Robots.txt Test Tools.
...