Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,865
» Latest member: Seo-Ul-Muh
» Forum threads: 2,139
» Forum posts: 10,407

Full Statistics

Online Users
There are currently 305 online users.
» 5 Member(s) | 298 Guest(s)
Bing, Google, Puneescorts0, Seo-Ul-Muh, Stevenvax, ThomasBism, tom891234

Latest Threads
Cookies with the SameSite...
Forum: IntraWeb General Discussion
Last Post: valmeras
Yesterday, 06:59 PM
» Replies: 0
» Views: 30
303 Redirect and Response...
Forum: IntraWeb General Discussion
Last Post: ALW2019
03-26-2024, 02:30 PM
» Replies: 0
» Views: 70
smmFunctions.pas
Forum: IntraWeb General Discussion
Last Post: Mikael Nilsson
03-26-2024, 10:33 AM
» Replies: 0
» Views: 74
TIWjQDBGrid paging
Forum: IntraWeb General Discussion
Last Post: troberts
03-26-2024, 04:06 AM
» Replies: 0
» Views: 91
iw15.5.10 does not addres...
Forum: IntraWeb General Discussion
Last Post: rudyPos
03-25-2024, 12:09 PM
» Replies: 0
» Views: 127
Problem with cache and 40...
Forum: IntraWeb General Discussion
Last Post: troberts
03-25-2024, 01:54 AM
» Replies: 0
» Views: 97
IWModalWindow from differ...
Forum: IntraWeb General Discussion
Last Post: bjoernb
03-24-2024, 10:52 PM
» Replies: 0
» Views: 111
jQGrid css and js files
Forum: IntraWeb General Discussion
Last Post: medzoom
03-22-2024, 07:06 PM
» Replies: 2
» Views: 2,511
iwSelect list update in a...
Forum: IntraWeb General Discussion
Last Post: joelcc
03-20-2024, 08:07 PM
» Replies: 0
» Views: 138
IntraWeb Certificate Mana...
Forum: IntraWeb General Discussion
Last Post: DavidChiq
03-19-2024, 06:27 PM
» Replies: 1
» Views: 2,083

 
  Reflected Cross-Site scripting (XSS)
Posted by: MarcoRu - 03-23-2022, 03:00 PM - Forum: IntraWeb General Discussion - Replies (7)

Hi all,
I'm trying to find a way to prevent XSS, for example if an user try to write some script in URL of the application.
There is a way to sanitize the input of the value of parameter, removing special characters like ', <, >, ( etc?
For example typing the URL followed by a code (http://127.0.0.1:88/$/StartCheck?<svg/onload=alert(1)>) someone can redirect or execute script in our application.
I'm using 14.2.12 Intraweb version and I tryied to do it in many ways but noone works.
Thanks in advance!

Print this item

  Intraweb17 status
Posted by: mhammady - 03-22-2022, 03:17 PM - Forum: IntraWeb General Discussion - Replies (3)

Sorry for posting this here as I can't post on IW17 forums. The last update I see was from 2021. Is IW17 still active? if yes, what is the current ETA?

Print this item

  IW 15.2.51 is out
Posted by: Alexandre Machado - 03-22-2022, 09:03 AM - Forum: IntraWeb General Discussion - No Replies

Hi guys,

there is a new update including support to RAD Studio 11 update 1

https://www.atozed.com/2022/03/intraweb-15-2-51/

Enjoy!  Big Grin

Print this item

  TIWFileUploader File dates
Posted by: PierreM - 03-21-2022, 05:27 AM - Forum: IntraWeb General Discussion - Replies (4)

In TIWFileUploader, is there any way I can read the file created date and file modified date after selection or successful upload of the file. Or is there a way to create the uploaded file with the same dates of the file that was selected for upload?

Print this item

  Using TIdHTTP to click a button on web page
Posted by: admctfdotcom - 03-20-2022, 09:20 AM - Forum: Indy General Discussion - Replies (1)

Hi,

I need to be able to programmatically click a Download CSV button here and save the file locally.

https://www.nasdaq.com/market-activity/stocks/screener

I used TIdHTTP previously for downloading files but not when the button click in involved.
I have to admit i am not much into HTTP GET/POST stuff.

Any help would be greatly appreciated.

Thank you.

Print this item

  IWDBAdvWebGrid "MouseSelect" Issue
Posted by: sirmikealot - 03-18-2022, 10:17 PM - Forum: IntraWeb General Discussion - No Replies

When using the "IWDBAdvWebGrid" component and setting "MouseSelect = msMove", so that the dataset is repositioned to the matching grid row,...
one of my columns suddenly loses the values from the database and shows the first value from the list instead. I should also point out that the '1st' row in the grid is always colored grey, whether it's selected or not ( regardless of whatever row i click on. another issue ).


That specific column settings are:



ColumnType = ctDynCombo

ComboItems = User, Manager (stored in one value per line)


ComboBalues = U, M (stored in one value per line)


Editor = edCombo

DataSource = qUsers ( MySQLDac query component used for all columns in this grid. )




All other columns work fine, it just appears to be the ctDynCombo that has the issue.



When I click a row or cell, the "MouseMove.mtMove" setting takes affect and then ALL rows with the ctDynCombo suddenly have the same value.

I've spent 2 days on this, and am completely stumped. I've even seen this behavior using your demo apps and using the ctMove setting - so I know it's not my code or project that is at fault - and I seriously need ctMove feature to work correctly.



I have created some TIWButtons that also demonstrate something interesting. ( Add, Edit, Delete, Save, Cancel ).



1. I click on any row and the column's combobox suddenly loses it's original display values and all become the same.

2. This combo values remain the same no matter what other columns or rows I click on.

3. I click my own TIWButton that calls "dataset.Edit" and the selected row goes into edit mode AND all original combo box values are restored.

4. I click 'save' or 'cancel' and the values are fine.

5. I click onto a different row and the combo values in that column are lost again.



I am on Delphi 10.4 and the latest IW 15.2.50.



Please advise. I'm seriously out of ideas on how to make this work, and as I said, I can get it to break on your demos as well by choosing the "MouseMove = msMove" property.



Attached Files Thumbnail(s)
       
Print this item

  IW Source Code
Posted by: ozelaya - 03-18-2022, 02:37 PM - Forum: IntraWeb General Discussion - Replies (2)

Hi,

I have a valid subscription for IW Ultimate. When I look for the latest source code, ther last zip file version available is 15.2.27. There is no source code for lastest 15.2.50?

Any hints?

Thanks in advance,

Omar Zelaya

Print this item

  Delphi 11.1 - 64 bit compile issue?
Posted by: rudyPos - 03-17-2022, 12:22 PM - Forum: IntraWeb General Discussion - Replies (9)

Delphi 11.1 (was working with 11.0)
15.2.50
Build or Compile fail:
A) App1:
"[dcc64 Fatal Error] ServerController.pas(44): F2051 Unit IWInit was compiled with a different version of IWGlobal.gServerControllerClass'"
B) App2:
"[dcc64 Fatal Error] IWMain.pas(8): F2051 Unit IWStandAloneServer was compiled with a different version of IWURL.TURL"

32 bit app profile compiles ok Build and Compile

What can be done?
TIA Huh

Print this item

  Redirect in form constructor
Posted by: Adrien - 03-16-2022, 08:42 AM - Forum: IntraWeb General Discussion - Replies (2)

Hi,

Since I migrated to IW15, something I was doing previously does not work anymore. In the WebApp main form (which is a login page), I was reading parameters from the URL in order to bypass the login view if the correct "auth_token" is provided trough the URL parameters. This detection was done directly in the login form constructor :


Code:
constructor TLoginView.Create(AOwner: TComponent);
var
...
begin
  if WebApplication.RunParams.Values['username'] <> '' then
  begin
    txtUserName.Text := WebApplication.RunParams.Values['username'];
    LUserCredentials := True;
  end;
  if WebApplication.RunParams.Values['auth_token'] <> '' then
  begin
      txtPassword.Text := AuthTokenToPassword(WebApplication.RunParams.Values['auth_token']);
      LPwdCredentials := True;
  end

  ...
  if tryLogin then
     with TMainView.Create(WebApplication) do Show;


This code does not work anymore in IW15. 

I tried using a timer and executing this code inside it, and it works. I suppose it is because the timer code is executed after the form is rendered and not in the form constructor. But is it the best way to handle a such redirection, or is there another recommended method ?

Best regards,

Adrien

Print this item

  Delphi 10.3 IntrraWeb 15.2.36 failure within IWBaseForm
Posted by: defaultuser - 03-15-2022, 08:33 PM - Forum: IntraWeb General Discussion - Replies (9)

Hello, 

I'm debugging an application that has an unhandled exception stemming from InternalInitInheritedComponent in IWBaseForm, I can see that it raises an exception within CreateComponent proc witihin System.Classes. Is there anything I can do on my end to circumvent, or could this be a bug?  I tried IW 15.2.50 but the problem persists. This issues was not noted in version 15.2.24, attached is the stack trace.



Attached Files Thumbnail(s)
   
Print this item