This is an automated email from the ASF dual-hosted git repository.

junichi11 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new f17ecdd  [NETBEANS-4217] Display port number to requested URL
     new 7e8c511  Merge pull request #2567 from 
KacerCZ/netbeans-4217-requested-url-port
f17ecdd is described below

commit f17ecdd05e4d77e1271c5d95dca5d85aa4d75b79
Author: Tomas Prochazka <[email protected]>
AuthorDate: Sat Nov 28 22:29:02 2020 +0100

    [NETBEANS-4217] Display port number to requested URL
    
    https://issues.apache.org/jira/browse/NETBEANS-4217
    
    Adds port to URL displayed in Requested URL output.
---
 .../org/netbeans/modules/php/dbgp/packets/RequestedUrlEvalCommand.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/php/php.dbgp/src/org/netbeans/modules/php/dbgp/packets/RequestedUrlEvalCommand.java
 
b/php/php.dbgp/src/org/netbeans/modules/php/dbgp/packets/RequestedUrlEvalCommand.java
index 5997f49..800d9a4 100644
--- 
a/php/php.dbgp/src/org/netbeans/modules/php/dbgp/packets/RequestedUrlEvalCommand.java
+++ 
b/php/php.dbgp/src/org/netbeans/modules/php/dbgp/packets/RequestedUrlEvalCommand.java
@@ -23,7 +23,7 @@ package org.netbeans.modules.php.dbgp.packets;
  * @author Ondrej Brejla
  */
 public class RequestedUrlEvalCommand extends EvalCommand {
-    private static final String REQUEST_URI = "(isset($_SERVER['SSL']) ? 
'https' : 'http').'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']"; // 
NOI18N
+    private static final String REQUEST_URI = "(isset($_SERVER['SSL']) ? 
'https' : 
'http').'://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'].$_SERVER['REQUEST_URI']";
 // NOI18N
     private static final LastUsedTransactionIdHolder 
LAST_USED_TRANSACTION_ID_HOLDER = LastUsedTransactionIdHolder.getInstance();
 
     public RequestedUrlEvalCommand(String transactionId) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to