197 questions
0
votes
0
answers
31
views
Rename get parameter via mod_rewrite
I want to rename specific http get parameter since application (NextCloud) changed it from path to dir and I want to preserve compatibility with old links.
Original URL was: https://example.com/index....
0
votes
1
answer
55
views
Change the keys passed to the querystring in a DotNet Core web application
In my view I have the following, typical razor markup.
<div class="form-item-container">
@Html.LabelFor(m => m.BookingFormFields.FirstName, new { @class = "form-item-label&...
1
vote
1
answer
482
views
341 character querystring fails to load with Error 400 - Bad Request
The documented querystring limit accepted by browsers is typically 2K. However, I have found our Angular apps, hosted by IIS, throw a Bad Request (400) error if the URL length exceeds a few hundred ...
0
votes
1
answer
324
views
Blazor WASM: how to find out which parameter changed during parameterset
I'm facing a strange issue while overriding the OnParameterSetAsync on a complex blazor wasm app. The page has several parameters which get their value from the querystring:
[SupplyParameterFromQuery(...
0
votes
1
answer
262
views
Blazor wasm: parameter initialized from querystring set on previous page
We're seeing a rather strange behavior which is affecting one of our apps. Suppose you have 2 pages, each with a parameter that gets initialized from the query string of the URI an both have the same ...
0
votes
1
answer
810
views
ASP.NET Core 5 MVC : HTTP POST request to handle query string parameter
I have been tasked with writing Http POST method to process incoming webhook data and I have been able to achieve that but to actually start receiving I have to first subscribe to Webhook event by ...
0
votes
1
answer
489
views
Stripe Success_URL Querystring
I have implemented a checkout that defines the success_url. I have added {CHECKOUT_SESSION_ID} to the querystring and it works fine. I would like to include other information that would allow me to ...
0
votes
2
answers
63
views
DNN: Add Querystring parameter to each statically created page in dnn
I want to build pages and menu part of the site statically, But I need to write a module for each page that behaves differently in different pages, So I need to set a querystring parameter for each ...
0
votes
1
answer
689
views
Varnish - use the cache when UTM_, gclid and other campaign params are used, otherwise pass if other querystring present
In short, how can the following rule be changed to allow caching if specified querystring parameters are present, but disallow caching if they are mixed with any other undefined parameters?
if (req....
0
votes
2
answers
99
views
Not all values of `Url.Page(values)` show up in the Get method of the page model
The following code builds a clickable URL which is emailed to user:
var callbackUrl = Url.Page(
"/Account/ConfirmEmail",
pageHandler: null,
values: new { userId = response.Id, ...
1
vote
1
answer
250
views
Remove Multiple Query Strings From Multiple URLs with .htaccess
I would like to remove all query strings including parameters and values from URLs with htaccess rules.
Here are a few URLs with query strings as examples which are needed to be removed from the end ...
10
votes
2
answers
26k
views
In Google Analytics 4 (GA4) how can I see page views by path and querystring when only "Page path and screen class" is available? [closed]
In GA4 Reports > Engagement > Pages and screens, above the list of pages viewed, there is a dropdown with the following options:
Page title and screen class
Page path and screen class
Page ...
0
votes
1
answer
186
views
query-string pick method returns the first match from a filter and corrupted URL
I am trying to clean a URL and only keep some parameters that I need in order to parse them
so I was using pick method providing it the url, and the filter which is a regex test method
here I am ...
0
votes
0
answers
340
views
PowerBI Embed URL filter unicode for FieldName - Product #
Problem Statement: I'm creating a dynamic application in which user select inputs and they are passed into Embed URL to filter data. But the column(Field) name in my dataset(Table) used in PowerBI is ...
0
votes
2
answers
45
views
Need to handle the query string "/projects?technologies=AI&industries=Security" Using nodeJS
This is my first time to create a query string parameter, So please help me out.
I want to filter the data based json field 'technologies, industries and maturity'
every field(technologies, ...
0
votes
1
answer
33
views
Accessing the requested url with the query helper
what I need;
api/GetCharacteristicsBulk?versionCode=RTUK8L1&language=2
go to this address.
var urlCode = selectedVersionCode + "&" + "language=" + language;
string url = ...
0
votes
1
answer
9k
views
ASP.NET Core 6 [FromQuery] return null values when binding to object
A picture is worth a thousand words - as you can see in the following screenshots, I'm not able to retrieve the parameters in the query string and bind them to the ApplyFilter model. I've tried [...
0
votes
1
answer
2k
views
What is the the meaning and purpose of this unusual value in URL parameter? [duplicate]
I am looking at my server logs and I see malicious requests like this:
http://www.*****.in/catalogue.php?storeid=%27nvOpzp;%20AND%201=1%20OR%20(%3C%27%22%3EiKO))
What is the user trying to do, and ...
1
vote
0
answers
1k
views
how to keep url query string values even on page refresh
I am using useRouter and Link, while navigating through my webapp. I attach query string to the links so that i can use the passed data of the query, in the page i am redirecting the user to. which ...
-1
votes
1
answer
1k
views
How to work (get, set) with query string in a url using react or Gatsby (whitout window || document)
How to get or set the query string using React or Gatsby (without using document or window objects):
https://link.com/?color=#fff&theme=light
0
votes
1
answer
268
views
Spa with Net5.0 avoid in fall back the loss of QueryString
for my english since i m not native.
First i m using Angular front/Net 5.0 back.
My problem is, every time that i go to my Spa aplication (From another aplication that handles login) i loose the ...
2
votes
0
answers
417
views
Alternative to System.Web.HttpUtility.ParseQueryString that uses a case-insensitive comparer?
If you include a query string on the HREF of the "Launch" link on the publish.htm page that ClickOnce generates when you publish a Windows desktop application:
HREF="...
0
votes
1
answer
59
views
What does the gidl query string parameter represent in the header of the 'CheckCookie' 302 redirect after authenticating to Google Cloud Console?
I am trying to determine what the query string parameters represent after authenticating to Google Cloud Console.
It is the same when i log in to different GCP accounts and it is also the same when a ...
0
votes
1
answer
147
views
Quickchart Wordcloud API is returning spread and small text
I am trying to get the Quickchart Wordcloud API to work, however, I get very spread apart and small text.
This used to work fine (I tested it a few weeks ago), but something seems to have changed to ...
0
votes
1
answer
366
views
How to turn comma separator in queryString to pipe separator only at the end
So i currently have an API i'm hitting with queryParams. The params are colour and i'm calling the api like this:
{apiUrl}?firstQuery=someQuery&colour=Blue,Green
Where the above request will ...
1
vote
0
answers
807
views
Force desktop view in spreadsheet
is there a way to set the parameters in spreadsheet to force the user agent to desktop mode? i have used the ?fd=true and overridemobile=true but still its not working.
<header>
<meta name=&...
0
votes
2
answers
317
views
Play Framework cannot find QueryStringBinders
I have a case class in the model package called CoordinatesTranslationDTO:
case class CoordinatesTranslationDTO(locale: String, lat: BigDecimal, lng: BigDecimal)
I'm importing this in the ...
3
votes
2
answers
7k
views
Django Template: Add Variable Into URL As Parameter
What's the proper way to add {{gamestoday|lookup:i}} into the <a href={%url 'stats'%}>. Do I need to make changes to urls.py?
{% load tags %}
<center>
<div class = "...
1
vote
1
answer
930
views
How do I persist all querystring values in asp.net core 3.1 mvc?
I have an asp.net core 3.1 mvc project where I have a search page (view). I am persisting search, filter and sort criteria values via Session data. This works fine, and persists data correctly, but ...
1
vote
0
answers
623
views
AWS Cloudformation template for AWS::ApiGateway::Resource: How to create dynamic key for RequestParameter?
I am creating a cloudformation nested template that creates an AWS::ApiGateway::Method. That method has query strings with names received as parameters from the parent stack something like this:
...
2
votes
1
answer
10k
views
How to pass the query string parameters in the AWS API Gateway?
Following is my Lambda handler which is expecting the users data from the queryStringParameters:-
export const lambdaHandler = async (event, context) => {
try {
const ...
0
votes
0
answers
81
views
PHP not always getting value from $_GET
I have a Wordpress shortcode that will display the appropriate image based on some values passed through the query string. It gets the value with $_GET['utm_content'].
Not sure why it would be a ...
1
vote
1
answer
679
views
In ASP.NET MVC Razor syntax, how do I add a URL Parameter without a value?
In Razor syntax, I want to produce a link with a value-less query parameter with @Html.RouteLink:
@Html.RouteLink("Test", "controller", new { action = "action", this = "value", that = "" })
Desired ...
0
votes
1
answer
689
views
How can i display query string in a view
I have the following code to display query string in my view I used ViewContext.RouteData.Values but it only display id how can i display the rest query, my url looks like this http://localhost:XXXX/...
1
vote
1
answer
1k
views
Why is it recommended to give magic link JWT tokens a shorter TTL than those delivered through HTTP and why one-time?
I'm looking to create an application that never uses passwords and want to understand the risks.
Magic Link guides often suggest giving the JWT token a short TTL and to implement one-time use.
A ...
0
votes
1
answer
2k
views
How to pass url with query string as an api parameter?
I am curently integrating the api to my application. One of the parameter is content_url which is a valid HTML URL for content. How to I pass whole url with query string?
API Endpoint parameter is ...
0
votes
1
answer
268
views
Attempting to get Query String Parameters with JS
I'm playing around with a Squarespace Website and attempting to search for/get Query string Parameters. No matter what I try with code injection I get null, of course it works fine in the console but ...
0
votes
1
answer
3k
views
Can we use Selenium or any other jars to get network response and validate
I have a requirement here that I need to verify the network response values using selenium & java.
It would be great if there is any code that could help me out.
The action that I want to ...
1
vote
0
answers
92
views
AWS lambda build FilterExpression using event
I'm trying to build a FilterExpression to use in a scan function on DynamoDb table.
filter_expression = None
for k in event:
print(k, ":", event[k])
filter_expression = filter_expression &...
0
votes
1
answer
56
views
mod_rewrite to encode the url after the?
I want to tranform all the content of the URL after the ? to be encoded
example if I write this URL in the browser:
http://www.mywebsite.com/?page=exams/product/vmware/
to be transformed to
https://...
1
vote
4
answers
3k
views
How do i pass a command argument of a button in Data List to another page?
Actually i am trying to redirect command argument of a button present in a data list to another page. I am using Request.QueryString method to access the command argument on another page with the help ...
12
votes
3
answers
46k
views
How to parse querystring parameter from URL in Fastify server?
I am a totally new to fastify but I have a fastify server running. I want to parse query string such as:
http://fake.com/?user=123&name=ali
I want to get "user" and "name" values from the URL ...
2
votes
3
answers
5k
views
How to filter results by multiple query parameters if I don't know beforehand how many query strings I may receive from client side?
I want to send in response some data according to searching by query parameters (using .find function of mongoose) from the client side. What do I need to do is a search according to the parameters ...
-1
votes
1
answer
977
views
How to convert Angular locale date to proper date format for API to consume?
I am using two-way binding in my template driven form:
ts:
searchLeaveApplication: any = {};
html:
<mat-form-field class="searchInputs">
<input
matInput
[matDatepicker]="...
2
votes
1
answer
384
views
Does Express.js respect RFC-3986 for query string?
Does ExpressJs respect/use the RFC-3986 standard when decoding query string parameters?
Why the direct char "è" is accepted but the encoded version "%E8" isn't?
Test Expressjs http ...
1
vote
1
answer
221
views
How can I get the right day of the week, if I am setting the date in relation to the given query string parameters?
I am facing some trouble while setting the right day of the week, I am using a query string parameter which is related to a calendar, and I want to use the selected date to another script which is ...
1
vote
1
answer
1k
views
UrlSearchParams.get() doesn't work with rewritten urls
On my website, I rewrote all my urls. But now I have started using AJAX for a voting functionality (it is a Q&A Community), there are some problems:
I am storing new UrlSearchParams(window....
0
votes
1
answer
2k
views
BizTalk WCF-WebHttp - How to add parameter to Url with same name
A QueryString normally allows name/value-pairs, where the same name can occur several times. When using WCF-WebHttp and BtsHttpUrlMapping, for caling a REST service, it maps from a property schema, ...
0
votes
1
answer
73
views
How to trigger dropdownlist onchange when setting selected from DataController
I have an MVC View (https://mydomain/Data/MyChart) that contains a dropdownlist where the onchange event triggers an ajax call to get data to populate a chart. This is working perfectly.
I now want ...
3
votes
1
answer
2k
views
Django : array within a query string as foo[]=bar1&foo[]=bar2
I need to prepare a Django microservice that offer the following url pattern :
http://<myserver>/getinfo/?foo[]=bar1&foo[]=bar2
it seems to be a very PHP way of doing but i have to mimic ...