Community Feedback

Reply
MVP
Posts: 777
Registered: ‎03-25-2009

code brackets

[ Edited ]

When putting a url inbetween code brackets the url still gets shortened.

Anything marked as 'code' should not be changed in any way (no smileys, no url-shortening, no linebraks, ...).

 

Any chance to get this 'fixed'?

See http://community.arubanetworks.com/t5/AAA-NAC-Guest-Access-BYOD/Problem-with-special-type-in-SMS/m-p/186136#M13821 for an example.

Koen (ACMX #351 | ACDX #547 | ACCP)

-- Found something helpful, important, or cool? Click the Kudos Star in a post.
-- Problem Solved? Click "Accept as Solution" in a post.
MVP
Posts: 724
Registered: ‎12-01-2010

Re: code brackets

I'll second the motion - MAC addresses and command strings are hard to parse with smiles in them.

--Matthew

if I've helped, please give kudos
if I've provided a solution, please mark the solution so others can find it
Moderator
Posts: 347
Registered: ‎03-29-2012

Re: code brackets

Hi all,

 

This should be changed now according to your feedback and suggestions.

 

Have a great day!

MVP
Posts: 777
Registered: ‎03-25-2009

Re: code brackets

[ Edited ]
:smileyhappy: http://www.google.com/url?q=http%3A%2F%2Fdevelopers.jollypad.com%2Ffb%2Findex.php%3Fdmmy%3D1%26fb_sig_in_iframe%3D1%26fb_sig_iframe_key%3D8e296a067a37563370ded05f5a3bf3ec%26fb_sig_locale%3Dbg_BG%26fb_sig_in_new_facebook%3D1%26fb_sig_time%3D1282749119...
 

 btw that url is a first hit from google so don't use it on my behalf

 

<html>
 <head>
  <title>PHP Test</title>
 </head>
 <body>
 <?php echo '<p>Hello World</p>'; ?> 
 </body>
</html>

 

<?
$diary_entries = array('121799','121899','121999','122199','122099','122399','122299',
'122699','122499','122799','122899','123099','122999','010800','123199','010100',
'010200','010500','010300','010700','010600','010900','011000','012100','011400',
'070700','012200','021500','071400','070800','071200','071300','073000','072000',
'072900','072800','073100','021801','021901','122802','122902','030301','030401',
'042701');
sort($diary_entries);
$as_timestamps = array();
$i = 0;
foreach ($diary_entries as $s) {
  $month = substr($s, 0, 2);
  $day = substr($s, 2, 2);
  $year = substr($s, 4, 2);
  $unix_timestamp = mktime(0,0,0, $month, $day, $year);
  print("$s = $unix_timestamp<br>");
  $as_timestamps[$i] = $unix_timestamp;
  $i++;
}
sort($as_timestamps);
print("<br>Now sorted by timestamp, oldest to newest<br>");
foreach ($as_timestamps as $s) {
  $diary_entry = date("mdy", $s);
  print("$s = $diary_entry<br>");
}

$last_diary = $as_timestamps[$i-2];
$diary_entry = date("mdy", $last_diary);
print("<br>Most recent diary entry is: <b>$diary_entry</b>");
?>

 

 

 :) 

 

fe80::c07:7cf2:1bb:ezz7  :)  84:34:34:46:79:de  mynameisthishere             userrole      01:00:03    802.1x                   accesspoint Wireless            securessid/6c:f3:ff:ff:22:91/a-HT  aaa-dot1x-blah       tunnel        iPad     

 

Koen (ACMX #351 | ACDX #547 | ACCP)

-- Found something helpful, important, or cool? Click the Kudos Star in a post.
-- Problem Solved? Click "Accept as Solution" in a post.
MVP
Posts: 777
Registered: ‎03-25-2009

Re: code brackets

[ Edited ]

url is still truncated :P

smileys are still parsed

output is stil linewrapped

Koen (ACMX #351 | ACDX #547 | ACCP)

-- Found something helpful, important, or cool? Click the Kudos Star in a post.
-- Problem Solved? Click "Accept as Solution" in a post.
Moderator
Posts: 347
Registered: ‎03-29-2012

Re: code brackets

Hi koenv,

 

Characters for URLs are set at a maximum amount right now.  I would suggest using shorter URLs if at all possible.

I will escalate this to the Community Manager so they can further look into this.

 

Thanks for letting me know!

 

Search Airheads
Showing results for 
Search instead for 
Did you mean: