mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-25 16:15:55 +03:00
[GH-ISSUE #1955] Changing URL in scripting #1948
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1948
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @novitae on GitHub (Mar 4, 2024).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1955
Description
When making a script, and in
onRequestdoingrequest.url = "https://mynew.url/", the URL of the request doesn't change. Is it normal ?Steps to Reproduce
Current Behavior
Url not changed
Expected Behavior
Url changed to the new one
Environment
@NghiaTranUIT commented on GitHub (Mar 5, 2024):
It's because
request.urlis read-only.To change the URL components, please use the code:
Snippet Code: https://docs.proxyman.io/scripting/snippet-code#change-request-destination-scheme-host-port-path